Openbravo Issue Tracking System - POS2
View Issue Details
0047853POS2Corepublic2021-10-14 17:432021-10-18 14:04
cberner 
cberner 
normalmajorhave not tried
closedfixed 
5
 
TAPTAP 
caristu
No
0047853: JIRA-2368: Permissions are wrong for drawer menu subentries if changing user
When pressing login, user actions permissions are not updated for the entries of groups of the drawer menu, resulting in this appearing as disabled when they should be enabled, and enabled when should be disabled, because the previous state is the one being mantained.

For example, a Manager with permission to all subentries logs in, he has all options available. If he doesn't refresh, logs out, and an employee with no permissions logs in, he'll have the same access to the drawer menu subentries as the manager.

Note: This doesn't affect the group button, for example Customers window works fine, and permissions are updated correctly.
1. Login in Backoffice as Openbravo and WhiteValleyGroup admin role
2. Go to Role window and select VallBlancaManual role
2.1. In UserActionAccess remove "SwitchCurrentWindow_OBPOS2_CustomerWindow" entry
2.2. You may logout from backoffice
3. Login in WebPOS as Vallblanca, check that Organization Variables subentry is available
4. Click on user Vallblanca to the top right, and change Profile to VallBlancaManual and check that Organization Variables subentry is disabled
5. Click Logout and login again as Vallblanca user

Option Organization Variables appears as disabled, although you're connected with a role that has permission to that user action.
No tags attached.
blocks defect 0047852 closed cberner JIRA-2368: Permissions are wrong for drawer menu subentries if changing user 
Issue History
2021-10-14 17:43guilleaerTypedefect => backport
2021-10-14 17:43guilleaerTarget Version => TAP
2021-10-14 17:43guilleaerStatusscheduled => acknowledged
2021-10-18 09:26cbernerStatusacknowledged => scheduled
2021-10-18 13:39cbernerNote Added: 0132411
2021-10-18 14:04cbernerStatusscheduled => resolved
2021-10-18 14:04cbernerFixed in Version => TAP
2021-10-18 14:04cbernerResolutionopen => fixed
2021-10-18 14:04cbernerReview Assigned To => caristu
2021-10-18 14:04cbernerStatusresolved => closed

Notes
(0132411)
cberner   
2021-10-18 13:39   
MR created here: https://gitlab.com/obcustomers/AGAP/org.openbravo.core2/-/merge_requests/63 [^]