Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
devel:documentation:identities:dev:user-type [2020/04/03 11:05] tomiskar |
devel:documentation:identities:dev:user-type [2020/08/13 07:44] tomiskar [Configurable form in product] |
||
---|---|---|---|
Line 11: | Line 11: | ||
* Form projection content is placed on path '' | * Form projection content is placed on path '' | ||
* Route (= frontent target) '' | * Route (= frontent target) '' | ||
- | * Component '' | ||
* Backend: | * Backend: | ||
+ | * Route component '' | ||
* '' | * '' | ||
* **identity** - identity. | * **identity** - identity. | ||
Line 21: | Line 21: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | |||
+ | <note tip>If projection works with role requests only, then loading of all assigned identity roles could be disabled - override '' | ||
+ | |||
+ | ==== Default user detail ==== | ||
+ | |||
+ | Default user detail is still available and is used for users without projection is specified. Default user detail can be used as projection with route ''/ | ||
+ | * Localization can be provided, | ||
+ | * authorization policies can be configured, | ||
+ | * projectin doesn' | ||
==== How to register new form ==== | ==== How to register new form ==== | ||
- | New projection can be added with the same structure in custom module. Is needed to add new content representing form projection (e.g. copy or reuse form projection from product), register new route in '' | + | New projection can be added with the same structure in custom module. Is needed to add new content representing form projection (e.g. copy or reuse form projection from product), register new route in '' |
Projection will obtain '' | Projection will obtain '' | ||
Line 46: | Line 55: | ||
</ | </ | ||
- | Register new component | + | Register new component: |
- | < | + | < |
- | { | + | /** |
- | id: ' | + | * Example |
- | type: 'form-projection', | + | * |
- | | + | * @since 10.3.0 |
- | | + | */ |
+ | @Component(ExampleIdentityFormProjectionRoute.PROJECTION_NAME) | ||
+ | public class ExampleIdentityFormProjectionRoute extends AbstractFormProjectionRoute< | ||
+ | |||
+ | public static final String PROJECTION_NAME = "/ | ||
+ | |||
+ | @Override | ||
+ | public String getName() { | ||
+ | return PROJECTION_NAME; | ||
+ | } | ||
} | } | ||
</ | </ | ||
Line 94: | Line 112: | ||
* Projection could be implemented by [[https:// | * Projection could be implemented by [[https:// | ||
* Save button can be shown, if any section can be edited - update identity permission is needed now. | * Save button can be shown, if any section can be edited - update identity permission is needed now. | ||
+ | * Assigned role attributes cannot be defined, when identity is created - add new assigned roles face mode (support projection properties). | ||
===== Admin guide ===== | ===== Admin guide ===== |