Project

General

Profile

Task #2105

Dynamic form for identities

Added by Radek Tomiška 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
Frontend
Target version:
Start date:
03/09/2020
Due date:
% Done:

100%

Estimated time:
Milestones:

Description

Feature will cover requirement to configure different form to create and edit different type of identity (externist vs. internist):
- new field with type (~codelist) will be added to identity - will control, which form will be used
- identity type can be switched - new identity permission will be added
- new type can be registered (~by codelist item)
- when new identity is created, then modal window with available identity types will be shown. If only one type is available => then form will be shown imediatelly (=> default / current form will be shown).

projection_one_full.png (88.8 KB) projection_one_full.png Vít Švanda, 04/03/2020 01:26 PM
projection_one.png (76.9 KB) projection_one.png Vít Švanda, 04/03/2020 01:26 PM

Related issues

Related to CzechIdM - Task #2153: Autorization policies - add evaluator by user type (projection)Closed03/26/2020

Related to CzechIdM - Task #2154: Automatic roles: Support user type field (projection) in automatic role by attributeClosed03/26/2020

Related to CzechIdM - Task #2155: Support user type field (projection) in synchronization and provisioningClosed03/26/2020

Related to CzechIdM - Task #2162: Bulk action - change user type (projection)Closed03/30/2020

Related to CzechIdM - Task #2163: Authorization policies - support secured contract eav attributes by defaultClosed03/30/2020

Related to CzechIdM - Task #2164: Authorization policies - support secured identity eav attributes by defaultClosed03/30/2020

Related to CzechIdM - Task #2165: Authorization policies - check change user type permission on backendClosed03/30/2020

Related to CzechIdM - Defect #2190: Read only on form doesn't work properly - AbstractFromClosed04/06/2020

Related to CzechIdM - Feature #891: Identity templates moduleClosed01/04/2018

History

#1 Updated by Radek Tomiška 7 months ago

  • Related to Task #2153: Autorization policies - add evaluator by user type (projection) added

#2 Updated by Radek Tomiška 7 months ago

  • Related to Task #2154: Automatic roles: Support user type field (projection) in automatic role by attribute added

#3 Updated by Radek Tomiška 7 months ago

  • Related to Task #2155: Support user type field (projection) in synchronization and provisioning added

#4 Updated by Radek Tomiška 7 months ago

  • % Done changed from 0 to 80

#5 Updated by Radek Tomiška 7 months ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 80 to 90

#6 Updated by Radek Tomiška 7 months ago

  • Related to Task #2162: Bulk action - change user type (projection) added

#7 Updated by Radek Tomiška 7 months ago

  • Related to Task #2163: Authorization policies - support secured contract eav attributes by default added

#8 Updated by Radek Tomiška 7 months ago

  • Related to Task #2164: Authorization policies - support secured identity eav attributes by default added

#9 Updated by Radek Tomiška 7 months ago

  • Related to Task #2165: Authorization policies - check change user type permission on backend added

#10 Updated by Radek Tomiška 7 months ago

Fixed review notes:
- authorities was evaluated only on form projection => permissions were ignored
- user type is removed from basic fields available for form projection
- username is required for updata by projection (the same behavior as defaul form)
- doc improved, update identity permission is needed to submit projection form (can be improved in future)

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/e8b7d45802711ceb48a093a9b8bbf840eaa6f632

#11 Updated by Vít Švanda 7 months ago

I did review and test. This is very big and complex feature. Works nice and code looks also nice. Nice tutorial! Thanks for this.

I tested again the issues we consulted and what you fixed. Everything works well now, expect one thing:

If my user can updated his identity full detail (firstname...), then projection detail can be saved, but identity fields are read-only.

Notes:

  • Role with attributes are not fully supported for create new identity now. Maybe warning in the wiki should be created for it.
  • You changed version of the selectbox from 1.3 to 1.2. I was a intent?
  • Wiki: Should be not IdmFormDefiniton: Permission to autocomplete form projections: Forms - projections(IdmFormDefiniton) | View in select box (autocomplete) | BasePermissionEvaluator

#12 Updated by Vít Švanda 7 months ago

  • Related to Defect #2190: Read only on form doesn't work properly - AbstractFrom added

#13 Updated by Vít Švanda 7 months ago

My issues with wrong read only form, is related to AbstractForm and will be solved within #2190. I have removed the readOnly property "workaround". The form now works correctly.

#14 Updated by Radek Tomiška 7 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

Thx for help! I retest permissions again and workaround works.

#15 Updated by Radek Tomiška 7 months ago

  • Status changed from Resolved to Closed

#16 Updated by Radek Tomiška 6 months ago

Also available in: Atom PDF

Go to top