[midPoint] Make a UserType attribute as immutable

Pavol Mederly mederly at evolveum.com
Wed Aug 23 11:14:09 CEST 2023


Hello Yakov,

this functionality was implemented more comprehensively for resource 
attributes, but only partially for focus items.

I added that information to the schema, to be clear.

Maybe you could file an improvement JIRA issue.

Best regards,

-- 
Pavol Mederly
Software developer
evolveum.com

On 22/08/2023 17:53, Yakov Revyakin via midPoint wrote:
> Hi all,
> I'd like to have the ability to read and add (during user creation) 
> UserType built-in 'employeeNumber' attribute and forbid it to modify.
>
> I can't meat expected behavior with the following approach in user 
> object template:
>    <item>
>         <ref>employeeNumber</ref>
>         <limitations>
>             <layer>model</layer>
>             <access>
>                 <read>true</read>
>                 <add>true</add>
>                 <modify>false</modify>
>             </access>
>         </limitations>
>     </item>
>
> It works if I use the presentation layer instead of model or schema, 
> but I want to make the attribute immutable if reconciliation wants to 
> modify the attribute.
>
> Probably my understanding of this feature is wrong. Could you provide 
> some clarification on this?
> Thanks,
> Yakov
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint


More information about the midPoint mailing list