Preserve old approach as a "Super" process to update all the roles in the installation, if the user chooses just System, it will update System, if System user leave empty the role then it updates ALL the roles in System
Regards,
Carlos Ruiz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> Login as GardenAdmin, create new role in GardenWorld, i.e., "TestRole" > Login again as "System Admin" Role > Open Update Role access process with role field left blank > All roles, System Admin and all roles from other client get updated, including the new role "TestRole"
** Note that, for roles in client System, only those roles that System Admin has access will be updated, but for non-System client, all are getting updated by default.
Test passed
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Revision: 12679
http://adempiere.svn.sourceforge.net/adempiere/?rev=12679&view=rev
Author: teo_sarca
Date: 2010-06-18 12:13:27 +0000 (Fri, 18 Jun 2010)
Log Message:
-----------
Role Access Update: updates all roles if I log in as System
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3018005
Modified Paths:
--------------
trunk/base/src/org/compiere/process/RoleAccessUpdate.java
I committed a better approach (in my opinion) in branches globalqss adempiere361:
http://adempiere.hg.sourceforge.net/hgweb/adempiere/adempiere361/rev/775793c2875d
Preserve old approach as a "Super" process to update all the roles in the installation, if the user chooses just System, it will update System, if System user leave empty the role then it updates ALL the roles in System
Regards,
Carlos Ruiz
Test via webui.
> Login as GardenAdmin, create new role in GardenWorld, i.e., "TestRole" > Login again as "System Admin" Role > Open Update Role access process with role field left blank > All roles, System Admin and all roles from other client get updated, including the new role "TestRole"
** Note that, for roles in client System, only those roles that System Admin has access will be updated, but for non-System client, all are getting updated by default.
Test passed