Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038689Openbravo ERPC. Securitypublic2018-06-04 09:542018-06-08 12:59
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
3.0PR18Q3 
alostale
Core
No
0038689: It should not be possible to set as Automatic those Manual roles inheriting permissions
It should be avoided the possibility of changing manual roles that inherits permissions as automatic.
1. Create a new template role "A". Give some permissions to it.
2. Create a new manual role "B". In the [Role Inheritance] tab, select "A" to inherits its permissions.
3. Change "B" as automatic.
4. Note that "B" has been granted will all permissions, but the permissions inherited from "A" are not marked as "inherited from". But still the role has the inheritance defined. This is inconsistent to the role definition.

Avoid saving the record in step 3.
No tags attached.
related to feature request 0038659 closed alostale new roles should be manual by default 
Issue History
2018-06-04 09:54caristuNew Issue
2018-06-04 09:54caristuAssigned To => alostale
2018-06-04 09:54caristuModules => Core
2018-06-04 09:54caristuTriggers an Emergency Pack => No
2018-06-04 09:54caristuIssue generated from0038659
2018-06-04 09:54caristuRelationship addedrelated to 0038659
2018-06-04 10:35caristuAssigned Toalostale => caristu
2018-06-04 10:35caristuStatusnew => acknowledged
2018-06-04 11:27caristuStatusacknowledged => scheduled
2018-06-04 12:40caristuReview Assigned To => alostale
2018-06-04 12:40caristuProposed Solution updated
2018-06-04 12:45hgbotCheckin
2018-06-04 12:45hgbotNote Added: 0104911
2018-06-04 12:45hgbotStatusscheduled => resolved
2018-06-04 12:45hgbotResolutionopen => fixed
2018-06-04 12:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/270c8e805fb35fbb299015c1215f2af0e5fbac70 [^]
2018-06-05 17:29hudsonbotCheckin
2018-06-05 17:29hudsonbotNote Added: 0104958
2018-06-08 12:59alostaleNote Added: 0105038
2018-06-08 12:59alostaleStatusresolved => closed
2018-06-08 12:59alostaleFixed in Version => 3.0PR18Q3

Notes
(0104911)
hgbot   
2018-06-04 12:45   
Repository: erp/devel/pi
Changeset: 270c8e805fb35fbb299015c1215f2af0e5fbac70
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jun 04 12:30:03 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/270c8e805fb35fbb299015c1215f2af0e5fbac70 [^]

fixes bug 38689: Avoid setting as automatic a role that inherits permissions

---
M src-db/database/model/triggers/AD_ROLE_CHECK_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0104958)
hudsonbot   
2018-06-05 17:29   
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/8317f2f73d00 [^]
Maturity status: Test
(0105038)
alostale   
2018-06-08 12:59   
reviewed + tested