Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036066Openbravo ERP01. General setuppublic2017-05-22 17:292017-06-08 17:12
ngarcia 
alostale 
urgentmajoralways
closedfixed 
5
 
3.0PR17Q3 
caristu
Core
No
0036066: no updateable AD definition can be overwritten by role config
Columns set as no updateable in Application Dictionary can be set as updateable through role configuration.

Note if the field is marked to be read-only changes for it at role config have no effect.
As group admin role:
   Go to Role window and select F&B International Group Admin role
   In Window Access tab select Business Partner
   In Tab Access subtab add the Business Partner - Business Partner tab and set it as Editable Field = 'Y'
   Log out and log in
   Go to Business Partner window and check you can modify the organization and you should not (the c_bpartner.ad_org_id column is defined as Updatable = 'N')
No tags attached.
related to defect 0036172 closed alostale WindowSettingsActionHandler underperformance 
causes defect 0051662 scheduled meriem_azaf cannot set by role a field to be readonly on new if its column is no updateable 
Issue History
2017-05-22 17:29ngarciaNew Issue
2017-05-22 17:29ngarciaAssigned To => Triage Finance
2017-05-22 17:29ngarciaModules => Core
2017-05-22 17:29ngarciaResolution time => 1497218400
2017-05-22 17:29ngarciaTriggers an Emergency Pack => No
2017-05-22 17:30ngarciaIssue Monitored: networkb
2017-05-24 10:38aferrazAssigned ToTriage Finance => platform
2017-06-02 11:45alostaleSummaryBusiness Partner Organization can be modified if the role has access to the 'Business Partner - Business Partner' tab => no updateble AD definition can be overwritten by role config
2017-06-02 11:45alostaleDescription Updatedbug_revision_view_page.php?rev_id=15280#r15280
2017-06-02 11:46alostaleStatusnew => acknowledged
2017-06-02 12:07alostaleAssigned Toplatform => alostale
2017-06-02 12:07alostaleReview Assigned To => caristu
2017-06-02 12:08alostaleSummaryno updateble AD definition can be overwritten by role config => no updateable AD definition can be overwritten by role config
2017-06-02 12:09hgbotCheckin
2017-06-02 12:09hgbotNote Added: 0097100
2017-06-02 12:09hgbotStatusacknowledged => resolved
2017-06-02 12:09hgbotResolutionopen => fixed
2017-06-02 12:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/beaa5444cc3ef4814474f945e85c36f6dcf2eee4 [^]
2017-06-02 14:30alostaleRelationship addedrelated to 0036172
2017-06-05 09:42caristuNote Added: 0097119
2017-06-05 09:42caristuStatusresolved => closed
2017-06-05 09:42caristuFixed in Version => 3.0PR17Q3
2017-06-08 17:12hudsonbotCheckin
2017-06-08 17:12hudsonbotNote Added: 0097237
2023-02-21 16:12alostaleRelationship addedrelated to 0051662
2023-02-21 16:13alostaleRelationship replacedcauses 0051662

Notes
(0097100)
hgbot   
2017-06-02 12:09   
Repository: erp/devel/pi
Changeset: beaa5444cc3ef4814474f945e85c36f6dcf2eee4
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 02 12:07:16 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/beaa5444cc3ef4814474f945e85c36f6dcf2eee4 [^]

fixed bug 36066: no updateable AD definition can be overwritten by role config

  * Take into account when applying role config at tab level if column is read
    only, read only field was already considered.
  * When applying role config at field level, take into accout both field and
    column

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/WindowSettingsActionHandler.java
---
(0097119)
caristu   
2017-06-05 09:42   
Code reviewed + testing OK.
(0097237)
hudsonbot   
2017-06-08 17:12   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/fda0f16ab470 [^]
Maturity status: Test