Difference between revisions of "Subrole Feature"
Line 12: | Line 12: | ||
The sequence defines which subrole rules when there are conflicts in role definitions. | The sequence defines which subrole rules when there are conflicts in role definitions. | ||
− | When logging into ADempiere the subset of all roles is merged. | + | When logging into ADempiere the user only sees the role that he is assigned to and not all subroles. |
+ | The permission granted in the subset of all roles is merged. If there is a conflict the subrole with higher sequence number is applied. |
Revision as of 03:58, 25 March 2010
Contribution
This contribution allows you to define a role with other roles. This highly increases usability for the administrator when setting up roles as he can once define core roles and re-use them in any combination and nesting.
The complete code is GPL and comitted to trunk.
Contributor
Subrole Feature is contributed by metas and mainly developed by Teo Sarca.
Documentation
In Window "Role" is a new tab named "Subrole" that allows you to add as many subroles as you want. The sequence defines which subrole rules when there are conflicts in role definitions.
When logging into ADempiere the user only sees the role that he is assigned to and not all subroles. The permission granted in the subset of all roles is merged. If there is a conflict the subrole with higher sequence number is applied.