Details
-
Bug
-
Resolution: Done
-
Major
-
14.0.0
-
None
-
-
Workaround Exists
-
-
Undefined
-
NEW
-
NEW
Description
Currently, when updating a user attribute that is marked as read-only for administrators and the value is an empty string, a validation error will happen if the user is not yet set with the attribute.
Although the validation is correct because the attribute can not be set under any circumstance, the admin console sends the attribute value as an empty string when not set.
It should be safer to just ignore empty attributes if the attribute is not yet set to the user.
This issue should enhance migration to the user profile so that new attributes added to the configuration do not block users from being updated due to read-only attributes in case the admin does not have write permissions.