Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012522Openbravo ERPA. Platformpublic2010-03-02 13:212010-03-26 16:24
alostale 
iciordia 
normalmajorhave not tried
newopen 
5
 
 
Core
No
0012522: Inherit access from tables for forms and processes
Currently access is granted to read/write tables by DAL based on ad_window_access. This makes that processes and forms might not be able to read/write info in case the role operating them do not have access to the windows working with that tables.
-Create a new table for forms and processes where it is defined to which tables access is granted because of having access to the form/process.
-Take into account this new table in DAL's security.
No tags attached.
related to defect 00124672.50MP14 closed alostale If you create a role with only permission to the General Ledger Report you are no able to open the Account element selector 
related to feature request 0012525 new Triage Platform Base Grant access to searches per ad_table_access 
blocks feature request 0012526 new iciordia Grant access to searches per process/form table access 
Issue History
2010-03-02 13:21alostaleNew Issue
2010-03-02 13:21alostaleAssigned To => iciordia
2010-03-02 13:24alostaleRelationship addedrelated to 0012467
2010-03-02 15:01alostaleSummaryInherit access from process and form for tables and searches => Inherit access from tables for forms and processes
2010-03-02 15:01alostaleDescription Updatedbug_revision_view_page.php?rev_id=101#r101
2010-03-02 15:01alostaleProposed Solution updated
2010-03-02 15:04alostaleRelationship addedrelated to 0012525
2010-03-02 15:07alostaleRelationship addedblocks 0012526
2010-03-26 06:32eintelauIssue Monitored: eintelau
2010-03-26 16:24iciordiaNote Added: 0025755

Notes
(0025755)
iciordia   
2010-03-26 16:24   
After some discussion we have found that it makes no sense to ask a developer to define the tables linked to a process just to allow read/write them during the execution of a process.

Instead, it makes sense to put DAL in "executing process" mode so any read/write made by the process does not fail while still it is done in the context of that session (eg. accessible orgs, etc.)