Openbravo Issue Tracking System - POS2
View Issue Details
0054921POS2Corepublic2024-03-12 10:592024-03-12 11:01
caristu 
Triage Platform Base 
normalmajorhave not tried
newopen 
5
 
 
No
0054921: User actions defined in standalone infrastructure modules cannot be securized
User actions defined in standalone infrastructure modules cannot be securized.
0) In a POS2 environment, install the org.openbravo.authentication.webauthn. This is an "infrastructure module".
1) Go to the [Role] window, select a role
2) Go to the [User Action Access] subtab and create a new record
   - User Action: "Register User"
   - active: false
3) Login in the POS with the role selected in step 1)
4) Click in the user button at the top-right part of the window. In the popup that is opened, note that the "WebAuthn Register" button is available (not disabled) although we should not have access to the "Register User" user action that this button triggers.
No tags attached.
related to defect 0054737 closed AugustoMauch Build process improvement: include missing dependencies, support standalone infrastructure modules 
Issue History
2024-03-12 10:59caristuNew Issue
2024-03-12 10:59caristuAssigned To => Triage Platform Base
2024-03-12 10:59caristuTriggers an Emergency Pack => No
2024-03-12 11:00caristuRelationship addedrelated to 0054737
2024-03-12 11:01caristuNote Added: 0162010
2024-03-12 11:01caristuSummaryUser actions defined in infrastructure modules cannot be securized => User actions defined in standalone infrastructure modules cannot be securized
2024-03-12 11:01caristuDescription Updatedbug_revision_view_page.php?rev_id=27671#r27671

Notes
(0162010)
caristu   
2024-03-12 11:01   
This is happening because standalone infrastructure modules are not being taken into account here[1]. User actions that belong to this kind of modules should also be taken into account.

[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/src/org/openbravo/core2/login/GrantedUserActionsProvider.java?ref_type=heads#L100 [^]