User type (projection) was added in CzechIdM version 10.2.0. Projection defines frontend form to read, create and edit user. We can create and edit user by different form. For example externe and internal employee can be created and edited differently (different attributes has to be filled). Used projection for user creation is set as user type.
Provided projection can be configured by administrator. New projection type and localization can be provided by developer.
Configurable form (projection) with configurable features is provided in product:
contract-position
s required for newly created user together with contracts - available contract types are controlled by organization types.contract-position
(e.g. with items Default
, Organization One
, Organization Two
) has to be defined, when more contracts should be created thogether with newly created user. Authorization policies has to be configured to codelist items too.
How to configure and use product form projection is described in tutorial.
How to register new form projection type is described in devel guide.
In the application profile (application.properties) and overloadable via ConfigurationService.
# show default form for newly created user # default form can be disabled => at least one configured form projection is needed idm.pub.app.show.identity.formProjection.default=true # # default password change type for custom users, one of values: # DISABLED - password change is disable # ALL_ONLY - users can change passwords only for all accounts # CUSTOM - users can choose for which accounts change password # Needed on FE (=> public) idm.pub.core.identity.passwordChange=CUSTOM
Aministrator for create, edit and delete configured form projection.
Manager for create and edit user with form projection usage with all features enabled.
contract-position
items: Code lists - items (IdmCodeListItem)| Read | CodeListItemByCodeEvaluatorManager for create and edit user with form projection usage only (simplest setting).
Other user doesn't need any additional autorization policy configuration. Form projection is saved together with user and when user detail is shown, then this projection is used.
Two projections are localized by default in product. If projection with code identity-externe
or identity-internal
will be configured, then localization will be used.
Localization can be added or changed by developer, read more in devel guide
If we want to show user detail immediatelly (skip user dasboard or skip info card), we can hold ctrl
key when clicking on user link (or info card).