Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorial:adm:user-type [2020/03/30 12:00] tomiskar created |
tutorial:adm:user-type [2021/03/30 09:48] (current) husniko |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Configure and use new identity projection ===== | ===== Configure and use new identity projection ===== | ||
+ | |||
+ | {{tag> form projection}} | ||
[[devel: | [[devel: | ||
Line 15: | Line 17: | ||
* Module - we can leave it empty, **core** module is used by default. | * Module - we can leave it empty, **core** module is used by default. | ||
* Frontend target - we can leave it by default **/ | * Frontend target - we can leave it by default **/ | ||
- | * Basic attributes - select | + | * Basic user attributes - select |
+ | * Basic contract attributes - select | ||
+ | * Basic attributes validation - configure validations for fields: | ||
+ | * **Personal number** - required, minimum and maximum length **5** (~ 5 letters only) | ||
+ | * **Valid till** - required, minimum contract validity **0** (~ current date), maximum contract validity 385 days (~ 13 monts in future). Sometimes it is demanded to avoid the possibility to set empty date for contract which means unlimited. Then it is advised to set validation of such attribute also as **required**. | ||
* Form definitions - we need to prepare extended attributes form definition before to use then here, we will use this definitions and attributes as example: | * Form definitions - we need to prepare extended attributes form definition before to use then here, we will use this definitions and attributes as example: | ||
* **default - IdmIdentity** - default form definition for users, select attributes: | * **default - IdmIdentity** - default form definition for users, select attributes: | ||
* **Mobile phone** - text attribute | * **Mobile phone** - text attribute | ||
* **Reqistration** - boolean attribute | * **Reqistration** - boolean attribute | ||
- | * **default - default - IdmIdentityContract** - default form definition for cntracts, select attributes: | + | * **default - default - IdmIdentityContract** - default form definition for contracts, select attributes: |
* **Environment** - codelist ith available environments | * **Environment** - codelist ith available environments | ||
* **Manager** - user select box | * **Manager** - user select box | ||
+ | * **Set direct guarantee for new contract** - Set currently logged user as direct guarantee for newly created contract | ||
* Description - **Create and edit externe user.** Description is shown in projection list (into about projection and for filter). | * Description - **Create and edit externe user.** Description is shown in projection list (into about projection and for filter). | ||
* Inactive - inactive projection will not be available for creating new user. | * Inactive - inactive projection will not be available for creating new user. | ||
- | {{ :devel: | + | {{ :tutorial: |
<note tip>We filled simple projection name as projection code. Projection name will be shown without localization. Read how to add [[devel: | <note tip>We filled simple projection name as projection code. Projection name will be shown without localization. Read how to add [[devel: | ||
Line 33: | Line 40: | ||
<note tip> | <note tip> | ||
+ | |||
+ | <note tip> | ||
==== Choose projection ==== | ==== Choose projection ==== | ||
Line 44: | Line 53: | ||
=== User detail for create user by configuration above ==== | === User detail for create user by configuration above ==== | ||
- | {{ :devel: | + | {{ :tutorial: |
We can create new user with all attributes are filled. We can choose roles, which will have to be assigned (requested) for created user. Used form (projection) is set as user type. After form is saved, the same form is shown and user can be edited if needed. The same form is used and shown as user detail. | We can create new user with all attributes are filled. We can choose roles, which will have to be assigned (requested) for created user. Used form (projection) is set as user type. After form is saved, the same form is shown and user can be edited if needed. The same form is used and shown as user detail. | ||
- | === User detail for edit user by configuration above ==== | + | === User detail for edit user by configuration above === |
- | {{ :devel: | + | {{ :tutorial: |
=== Default full detail === | === Default full detail === | ||
Line 95: | Line 104: | ||
===== Devel guide ===== | ===== Devel guide ===== | ||
+ | * [[devel: | ||
+ | |||
+ |