Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054685
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2024-02-15 13:342024-02-15 13:41
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054685: Do not persist access fo widget classes having Allow Anonymous Access

DescriptionIssue 53408 in 24Q1 release stopped persisting _ACCESS entries for role marked as automatic. Instead that case is handled in code automatically.

Table obkmo_widget_class has a similar flag to mark a widget as available independent of role (allow_anonymous_access).

Similar to 53408 we can remove that auto-generated _access entries as those widget classes will be allowed automatically

Steps To ReproduceSee code checking obkmo_widget_class_access for access control here:
https://gitlab.com/openbravo/product/openbravo/-/blob/master/modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoComponent.java?ref_type=heads#L176 [^]

Starting line 185 all those classes marked as allow_anonymous_access are added as available independent of the roles being manual or automatic.
Proposed SolutionRemove the _access rows for public widget_classes and persist those changes into sampledata.

delete from obkmo_widget_class_access a where exists (select 1 from obkmo_widget_class c where c.obkmo_widget_class_id = a.obkmo_widget_class_id and c.allow_anonymous_access = 'Y');
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0053408 closedablasco Do not persist access for automatic roles 

-  Notes
(0160791)
hgbot (developer)
2024-02-15 13:41

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1143 [^]

- Issue History
Date Modified Username Field Change
2024-02-15 13:34 shuehner New Issue
2024-02-15 13:34 shuehner Assigned To => Triage Platform Base
2024-02-15 13:34 shuehner Modules => Core
2024-02-15 13:34 shuehner Triggers an Emergency Pack => No
2024-02-15 13:35 shuehner Relationship added related to 0053408
2024-02-15 13:35 shuehner Assigned To Triage Platform Base => shuehner
2024-02-15 13:41 hgbot Note Added: 0160791


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker