Openbravo Issue Tracking System - POS2
View Issue Details
0046295POS2POSpublic2021-04-19 14:452021-04-24 16:42
jmelin 
cberner 
highmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
 
caristu
No
0046295: JIRA 1713 - Can not remove or disable "Organization Variables" from POS
It's not possible to remove or disable access to "Organization Variables" on POS
1. Connect to BO with Openbravo/ role='White valley group admin'
2. In "Role" window, select "VallBlancaUser" role
3. In tab "User action access", set action 'SaveOrgVariables' to disable

4. Connect to POS VBS-2 with user 'vallblanca' => menu "Organization Variables" is available

5. In BO, set action 'SaveOrgVariables' to active and "Require approval"

6. Refresh POS VBS-2 => menu "Organization Variables" is still available with no approval
Takeaway
related to defect 0046294 closed cberner JIRA 1711 - Keymap editor can not be disabled on POS 
depends on backport 0046340TAP closed cberner JIRA 1713 - Can not remove or disable "Organization Variables" from POS 
Issue History
2021-04-19 14:45jmelinNew Issue
2021-04-19 14:45jmelinAssigned To => Retail
2021-04-19 14:45jmelinTriggers an Emergency Pack => No
2021-04-21 16:44cbernerNote Added: 0127425
2021-04-21 16:44cbernerAssigned ToRetail => jmelin
2021-04-21 16:44cbernerStatusnew => feedback
2021-04-22 11:02jmelinNote Added: 0127441
2021-04-22 11:02jmelinNote Added: 0127442
2021-04-22 11:02jmelinAssigned Tojmelin => cberner
2021-04-22 11:02jmelinStatusfeedback => new
2021-04-22 11:02jmelinNote Deleted: 0127441
2021-04-22 14:03jmelinTag Attached: Takeaway
2021-04-22 17:18guilleaerStatusnew => scheduled
2021-04-22 17:20guilleaerResolution time => 1619992800
2021-04-24 10:18cbernerNote Added: 0127516
2021-04-24 10:18cbernerStatusscheduled => resolved
2021-04-24 10:18cbernerResolutionopen => fixed
2021-04-24 10:19cbernerReview Assigned To => caristu
2021-04-24 10:19cbernerStatusresolved => closed
2021-04-24 10:19cbernerNote Edited: 0127516bug_revision_view_page.php?bugnote_id=0127516#r22364
2021-04-24 10:19cbernerRelationship addedrelated to 0046294
2021-04-24 16:42guilleaerStatusclosed => new
2021-04-24 16:42guilleaerResolutionfixed => open
2021-04-24 16:42guilleaerStatusnew => scheduled
2021-04-24 16:42guilleaerStatusscheduled => resolved
2021-04-24 16:42guilleaerResolutionopen => fixed
2021-04-24 16:42guilleaerStatusresolved => closed

Notes
(0127425)
cberner   
2021-04-21 16:44   
This is not an issue.
SaveOrgVariables user action is used to handle the save button of the edit form when modifying an Organization Variable, doesn't control the window or the drawer menu button.

To disable Organization Variables drawer menu button it is necessary to first add the SwitchCurrentWindow_OBC2_OrgVariablesWindow to User Action and then to User Action Access for the specific role.
Follow the same steps as in this note, but changing the searchKey of the user action to SwitchCurrentWindow_OBC2_OrgVariablesWindow: https://issues.openbravo.com/view.php?id=46294#c127421 [^]
(0127442)
jmelin   
2021-04-22 11:02   
Why is it not added by default with the module 'Web POS 2' like OBPOS2_LoadRemoteTicket or OBPOS2_CreateCustomer for example ?
(0127516)
cberner   
2021-04-24 10:18   
(edited on: 2021-04-24 10:19)
Fixed in the context of this other issue and also backported to TAP: https://issues.openbravo.com/view.php?id=46294 [^]

Added the corresponding user actions to be able to use them in roles.