Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devel:documentation:roles:dev:copying_role_by_user [2019/03/18 10:37]
kopro
— (current)
Line 1: Line 1:
-====== Copying roles from a user ====== 
-Copying roles from a user to user is usefull feature for copy/share permission between roles. Main purpose is facilitated of adding manually added roles to another user. 
  
-In next steps is described how to works the feature. 
- 
-===== Where is start point? ===== 
-The feature is available on role request detail as new button. 
- 
-{{ :devel:documentation:add_role.png |}} 
- 
-For show this button and create new role request you will need permissions for change user permission, create request and etc. for more information visit [[devel:documentation:security:dev:authorization|authorization dokuwiki page]]. 
- 
-===== Copy roles ===== 
- 
-==== Select the user ==== 
-Whole copying is shown on one modal window. On this window you can select user from who will be roles copied select box with label: ''User select''  
- 
-{{ :devel:documentation:roles:dev:add_role_002.png |}} 
- 
-==== Select the specific contract from selected user ==== 
- 
-After you select the user you can also select contract for specific set of assigned roles on selected user. 
- 
-{{ :devel:documentation:roles:dev:add_role_003.png |}} 
- 
-<note tip>Roles that will be shown is assigned only the selected contract. Contract can be deselected and then is shown **all assigned roles** trough all contract.</note> 
- 
-==== Select contract and date for adding new roles ==== 
- 
-Now you have to select a contract to assign new roles. This field is mandatory. 
- 
-{{ :devel:documentation:roles:dev:add_role_004.png |}} 
- 
-Bellow you can also specific validity for newly assigned roles. 
- 
-<note tip>For manually assigned roles is possible change validity. Automatically assigned roles **has validity from contract**.</note> 
- 
-==== Copy role parameters with values ==== 
- 
-If some assigned roles has role parameters is possible also copying the parameters except values. This option is by default disabled, you can activate it by check the checkbox. 
- 
-{{ :devel:documentation:roles:dev:add_role_005.png |}} 
- 
-==== Select roles ==== 
- 
-In last part of the modal window exists component for selecting assigned roles and copy it. 
- 
-{{ :devel:documentation:roles:dev:add_role_006.png |}} 
- 
-Between table ''Roles select from user'' and ''Selected roles''. Exists these buttons: 
-  * {{:devel:documentation:roles:dev:add_role_007.png|}} Add **all** roles that exists in table ''Roles select from user'' to table ''Selected roles'', 
-  * {{:devel:documentation:roles:dev:add_role_008.png|}} add **only selected** roles that exists in table ''Roles select from user'' to table ''Selected roles'', 
-  * {{:devel:documentation:roles:dev:add_role_009.png|}} remove **only selected** roles that exists in table ''Selected roles'', 
-  * {{:devel:documentation:roles:dev:add_role_010.png|}} remove **all** roles that exists in table ''Selected roles''. 
- 
-**Example:** 
- 
-{{ :devel:documentation:roles:dev:add_role_011.png |}} 
- 
-==== Directed roles / Sub roles ==== 
- 
-Is possible that in assigned roles exists roles that is called business. These roles has probably some subroles. Subroles is assigned automatically after is assigned parent (business) role. 
- 
-In default settings is shown only directly assigned roles. This options can be changed by checkbox ''Show only roles assigned directly''. 
- 
-{{ :devel:documentation:roles:dev:add_role_012.png |}} 
- 
-<note important>Beware if you assign business role and their sub role directly. User will have duplicity in assigned roles. **The subrole will be assigned twice**.</note> 
- 
-==== Icons and description of roles ==== 
- 
-  * {{:devel:documentation:roles:dev:manually.png|}} - directly assigned application role, 
-  * {{:devel:documentation:roles:dev:automatic.png|}} - role assigned by automatic role configuration (by tree structure or attribute), 
-  * {{:devel:documentation:roles:dev:business.png|}} - directly assigned business role. Defined sub roles will be assigned together with this role, 
-  * {{:devel:documentation:roles:dev:subrole.png|}} - role assigned by business role (sub role). 
- 
-More about roles can be found [[devel:documentation:roles|there]] 
  • by kopro