Actions
Defect #3465
openAttribute with validation in projection is always editable
Status:
New
Priority:
High
Assignee:
-
Category:
Identities
Target version:
-
Start date:
10/30/2023
Due date:
% Done:
0%
Estimated time:
Description
How to reproduce:
- create new projection
- add identity EAV attribute to projection
- add validation to this EAV attribute
- save projection
- create new user with this projection
- create new role with permissions:
- IdmFormAttribute autocomplete BasePermissionEvaluator
- IdmFormDefinition autocomplete BasePermissionEvaluator
- IdmIdentityContractFormValue read,count,autocomplete IdentityContractFormValueEvaluator for default definition
- IdmIdentityFormValue read,count,autocomplete IdentityFormValueEvaluator for default definition
- IdmIdentity read,count,autocomplete IdentityByFormProjectionEvaluator for this new projection
- IdmIdentityContract read,count,autocomplete IdentityContractByIdentityEvaluator COUNT,READ,AUTOCOMPLETE
- IdmTreeNode autocomplete BasePermissionEvaluator
- IdmTreeType autocomplete BasePermissionEvaluator
- add this role to some user with no other permissions in IdM besides userRole
- log in IdM and open projection form of a user with this new projection
- the EAV attribute is editable
- no save button is available
- go to full detail of this user and EAV tab "More information"
- the EAV attribute is editable
- save button is present
- click on save button
- error message appears due to insufficient rights.
In this situation the user has to rights to edit anything on user with this projection so I would expect the field with the EAV to by disabled/not editable. When the EAV has no validation set and are present in the projection form, they are disabled.
No data to display
Actions