Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devel:documentation:security:dev:change-user-permissions [2019/02/13 10:18] kotisovam first part moved to adming guide, and edit |
devel:documentation:security:dev:change-user-permissions [2019/05/07 08:29] (current) svandav [Duplicate request] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Changing user permissions ====== | ====== Changing user permissions ====== | ||
- | {{tag> | + | {{tag> |
- | A manual change (via REST api) of permission, i.e. adding/ | + | <note tip> |
+ | |||
+ | ===== Basic life cycle of the request for change a permissions ===== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | <note important> | ||
===== Role request agenda ===== | ===== Role request agenda ===== | ||
+ | This agenda contains all requests (wishes) for requested changes of authorized identities. The main idea is that all changes in identities' | ||
- | The standard scenario of a permission change, after a user presses the button " | + | The standard scenario of a permission change is as follows: |
+ | - The user request a change in his permission. | ||
+ | - He presses the " | ||
+ | - A new request (in " | ||
+ | - All the assigned roles which the user has are displayed in the table of concepts " | ||
+ | - All the requested changes of permission are displayed in the table " | ||
+ | - The user presses the button " | ||
- If the request is not evaluated as duplicate, its execution is performed (the state is set to " | - If the request is not evaluated as duplicate, its execution is performed (the state is set to " | ||
- Subsequently, | - Subsequently, | ||
Line 15: | Line 28: | ||
- Ordinarily, the event is then captured by the processor " | - Ordinarily, the event is then captured by the processor " | ||
- ** The user is assigned roles according to the requested changes**. | - ** The user is assigned roles according to the requested changes**. | ||
+ | |||
+ | <note tip>If the user creates a new request but does not submit it, it will be displayed as " | ||
=== Concept table === | === Concept table === | ||
Line 24: | Line 39: | ||
* All edits can be removed from the concept table (changes, cancellation of removal, removal of newly-added permissions). | * All edits can be removed from the concept table (changes, cancellation of removal, removal of newly-added permissions). | ||
+ | <note important> | ||
==== Changing permission without approval ==== | ==== Changing permission without approval ==== | ||
Line 39: | Line 55: | ||
<note tip> | <note tip> | ||
+ | |||
+ | ==== Duplicate request ==== | ||
+ | <note warning> | ||
+ | |||
+ | During the process of submitting a request, it is verified if there is another duplicate request of the new request (in state " | ||
+ | The submission (execution) of the request is thus suspended. | ||
+ | |||
+ | ** A duplicate request is such a request with equivalent: | ||
+ | * applicants. | ||
+ | * individual role concepts (identical role type, identical validity from/to, identical link IdentityRole). | ||
+ | * a request note (the user can define their request only in this note). | ||
+ | |||
+ | <note tip>A duplicate request can be submitted (executed) repeatedly. Due to this, duplicate requests are found again.</ | ||
+ | |||
+ | ==== Request removal ==== | ||
+ | A request can be removed completely only in " | ||
+ | If it is in " | ||
+ | If it is in " | ||
+ | |||
+ | |||
+ | ==== Request agenda for administrators ==== | ||
+ | A situation when the end user creates a request for permission change from their profile has been described above. | ||
+ | For administrators, | ||
+ | |||
+ | The agenda allows a direct request submission from a list of requests. The agenda also allows **creating a new request**, where the administrator must first choose the user who the request is being created for. | ||
+ | |||
+ | In addition, the request detail in this agenda contains (compared to the end user request detail) a possibility of ticking that the request is not to be approved. The request detail also contains a **log**. This log contains all crucial information which occur during the life cycle of the request (errors, duplicates, request cancellation due to integrity, executed operations, etc.). | ||
==== Integrity on remove contract or role ==== | ==== Integrity on remove contract or role ==== | ||
When role or contract (using in the some concept) is deleted and workflow process for that concept is not ended, the must be that process terminated. We cannot use standard | When role or contract (using in the some concept) is deleted and workflow process for that concept is not ended, the must be that process terminated. We cannot use standard | ||
- | <note important> | + | <note important> |
- | For prevent this situation is concept' | + | For prevent this situation is concept' |
<note important> | <note important> | ||
Line 97: | Line 140: | ||
If the request-permission-change-without-approval mode is not used, process " | If the request-permission-change-without-approval mode is not used, process " | ||
- | This process is described [[ | here]] | + | This process |
+ | |||
+ | - **Process name generating** (the applicant' | ||
+ | - **Approval by the helpdesk department**. | ||
+ | - **Approval by the manager of the applicant**. | ||
+ | - **Approval by the user administration department**. | ||
+ | - **Execution of subprocesses for each requested role**. | ||
+ | - **Approval of role incompatibilities** | ||
+ | - **Approval by the security department**. | ||
+ | - **Sending the notification**. | ||
+ | - **Realization of the request** - the realization itself is not carried out by the process, but by the service for managing requests for permission change. | ||
<note tip>The input of the proces is the event which started the approval process. This event contains the request itself (IdmRoleRequestDto). At the end of the process the event is called out again (performs the realization).</ | <note tip>The input of the proces is the event which started the approval process. This event contains the request itself (IdmRoleRequestDto). At the end of the process the event is called out again (performs the realization).</ | ||
Line 158: | Line 211: | ||
* **No priority (0)**: | * **No priority (0)**: | ||
- | No approval takes place. The process " | + | No approval takes place. The process " |
* **Trivial priority (1)**: | * **Trivial priority (1)**: |