Openbravo Issue Tracking System - POS2
View Issue Details
0055808POS2Corepublic2024-06-20 18:072024-07-26 12:32
eugen_hamuraru 
ablasco 
immediateminoralways
closedfixed 
5
 
24Q4 
cberner
Production - Confirmed Stable
2023-10-17
24Q1
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/7f075c1584035cd723348753b3c7fe0bb0668501 [^]
No
0055808: 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.
depends on backport 005602924Q3.1 closed ablasco POS2 Is not possible to disable access to user actions for automatic roles. 
depends on backport 005603024Q2.2 closed ablasco POS2 Is not possible to disable access to user actions for automatic roles. 
caused by defect 0053408 closed ablasco Openbravo ERP Do not persist access for automatic roles 
Issue History
2024-06-20 18:07eugen_hamuraruNew Issue
2024-06-20 18:07eugen_hamuraruAssigned To => Triage Platform Base
2024-06-20 18:07eugen_hamuraruRegression level => Production - Confirmed Stable
2024-06-20 18:07eugen_hamuraruRegression date => 2023-10-17
2024-06-20 18:07eugen_hamuraruRegression introduced in release => 24Q1
2024-06-20 18:07eugen_hamuraruRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/7f075c1584035cd723348753b3c7fe0bb0668501 [^]
2024-06-20 18:07eugen_hamuraruTriggers an Emergency Pack => No
2024-06-20 18:08eugen_hamuraruRelationship addedcaused by 0053408
2024-06-21 08:50eugen_hamuraruSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28125#r28125
2024-07-16 12:46cbernerAssigned ToTriage Platform Base => ablasco
2024-07-16 12:47cbernerStatusnew => scheduled
2024-07-23 12:57hgbotNote Added: 0167284
2024-07-26 12:31hgbotResolutionopen => fixed
2024-07-26 12:31hgbotStatusscheduled => resolved
2024-07-26 12:31hgbotNote Added: 0167390
2024-07-26 12:31hgbotFixed in Version => 24Q4
2024-07-26 12:31hgbotNote Added: 0167391
2024-07-26 12:32cbernerReview Assigned To => cberner
2024-07-26 12:32cbernerStatusresolved => closed

Notes
(0167284)
hgbot   
2024-07-23 12:57   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1547 [^]
(0167390)
hgbot   
2024-07-26 12:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1547 [^]
(0167391)
hgbot   
2024-07-26 12:31   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 8b698d1fcfb7f71f33e1f1ed8d9b49b379b7dc06
Author: Adrián Blasco <adrian.blasco@openbravo.com>
Date: 26-07-2024 10:31:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/8b698d1fcfb7f71f33e1f1ed8d9b49b379b7dc06 [^]

Fixes ISSUE-55808: 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
---