Openbravo Issue Tracking System - POS2
View Issue Details
0056030POS2Corepublic2024-06-20 18:072024-07-29 10:03
eugen_hamuraru 
ablasco 
immediateminoralways
closedfixed 
5
 
24Q2.224Q2.2 
Production - Confirmed Stable
2023-10-17
24Q1
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/7f075c1584035cd723348753b3c7fe0bb0668501 [^]
No
0056030: Is not possible to disable access to user actions for automatic roles.
Is not possible to disable access to user actions for automatic roles.
1.- Go to the Role window in the back office and select an automatic role

2.- In the user action access subtab, create a new record for a user action and let the record as inactive. This is the way to disable the access to the user action.

3.- Log in in the POS with the configured role and note that is possible to execute the user action.
 
No tags attached.
blocks defect 0055808 closed ablasco Is not possible to disable access to user actions for automatic roles. 
Issue History
2024-07-16 12:47cbernerTypedefect => backport
2024-07-16 12:47cbernerTarget Version => 24Q2.2
2024-07-26 12:49hgbotNote Added: 0167398
2024-07-29 10:03hgbotNote Added: 0167428
2024-07-29 10:03hgbotResolutionopen => fixed
2024-07-29 10:03hgbotStatusscheduled => closed
2024-07-29 10:03hgbotFixed in Version => 24Q2.2
2024-07-29 10:03hgbotNote Added: 0167429

Notes
(0167398)
hgbot   
2024-07-26 12:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1550 [^]
(0167428)
hgbot   
2024-07-29 10:03   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1550 [^]
(0167429)
hgbot   
2024-07-29 10:03   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 5ea93ae8a249768c96dc3eb00a0631e7804890b9
Author: Adrián Blasco <adrian.blasco@openbravo.com>
Date: 26-07-2024 12:48:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/5ea93ae8a249768c96dc3eb00a0631e7804890b9 [^]

Fixes ISSUE-56030: Is not possible to disable access to user actions for automatic roles

To allow this, deactivating a user action access will remove permission to do that action, even if the role is automatic.

---
M src/org/openbravo/core2/login/GrantedUserActionsProvider.java
M src/org/openbravo/core2/master/UserActionAccess.java
---