Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018777Openbravo ERPA. Platformpublic2011-10-14 14:412012-10-08 12:10
mirurita 
shankarb 
normalmajoralways
closedno change required 
5
pi 
 
Core
No
0018777: Secured Process preference not working
Following the steps described here:
http://wiki.openbravo.com/wiki/Functional_Documentation/General_Setup#Process_Permissions [^]

although the preference is set, is possible to access a process only granting access to the window it belongs.
1) Create a new role
- Name: Test Role
- Manual
- Assign the following window access
   + Sales Invoice
   + Payment Method
   + Currency
   + Financial Account
   + Business Partner
- Assign access to orgs:
   + F&B International Group
- Assign to user Openbravo
- NO process access

2) As F&B International Group Admin create a new Preference
- Attribute: Secured Process
- Value: Y
- Visible at role: Test Role
- Visible at window: Sales Invoice

3) Logout and login as Test Role

4) Go to Sales Invoice window and realize that the Add Payment In/Out process is accessible.
nextMP
png notAccessibleProcesses.png (43,631) 2012-10-08 12:09
https://issues.openbravo.com/file_download.php?file_id=5643&type=bug
png

png InactivatedProcess.png (73,170) 2012-10-08 12:10
https://issues.openbravo.com/file_download.php?file_id=5644&type=bug
png
Issue History
2011-10-14 14:41miruritaNew Issue
2011-10-14 14:41miruritaAssigned To => alostale
2011-10-14 14:41miruritaModules => Core
2011-10-15 11:59shuehnerIssue Monitored: shuehner
2011-10-31 14:28alostaleTarget Version3.0MP5 => 3.0MP6
2011-11-15 08:41alostaleTag Attached: nextMP
2011-11-15 08:59alostaleTarget Version3.0MP6 =>
2012-10-08 12:05shankarbNote Added: 0053095
2012-10-08 12:05shankarbStatusnew => closed
2012-10-08 12:05shankarbResolutionopen => no change required
2012-10-08 12:09shankarbAssigned Toalostale => shankarb
2012-10-08 12:09shankarbNote Added: 0053096
2012-10-08 12:09shankarbStatusclosed => new
2012-10-08 12:09shankarbResolutionno change required => open
2012-10-08 12:09shankarbFile Added: notAccessibleProcesses.png
2012-10-08 12:10shankarbFile Added: InactivatedProcess.png
2012-10-08 12:10shankarbStatusnew => closed
2012-10-08 12:10shankarbResolutionopen => no change required

Notes
(0053095)
shankarb   
2012-10-08 12:05   
Already Fixed. The code is present in WindowSettingsActionHandler.java file. I have also attached the console log, where the notAccessibleProcesses are added for the tab 283 (Sales Invoice), and the Add Payment process in that list are present.
(0053096)
shankarb   
2012-10-08 12:09   
Reopened to include screen shot.