<div dir="ltr">Hi Pavol,<br>Thanks a lot for the confirmation.<br><div>I've already implemented this on a resource level.</div><div>However, I had to add the limitations element in each connected resource. </div><div>Yakov</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 23 Aug 2023 at 12:14, Pavol Mederly via midPoint <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Yakov,<br>
<br>
this functionality was implemented more comprehensively for resource <br>
attributes, but only partially for focus items.<br>
<br>
I added that information to the schema, to be clear.<br>
<br>
Maybe you could file an improvement JIRA issue.<br>
<br>
Best regards,<br>
<br>
-- <br>
Pavol Mederly<br>
Software developer<br>
<a href="http://evolveum.com" rel="noreferrer" target="_blank">evolveum.com</a><br>
<br>
On 22/08/2023 17:53, Yakov Revyakin via midPoint wrote:<br>
> Hi all,<br>
> I'd like to have the ability to read and add (during user creation) <br>
> UserType built-in 'employeeNumber' attribute and forbid it to modify.<br>
><br>
> I can't meat expected behavior with the following approach in user <br>
> object template:<br>
> <item><br>
> <ref>employeeNumber</ref><br>
> <limitations><br>
> <layer>model</layer><br>
> <access><br>
> <read>true</read><br>
> <add>true</add><br>
> <modify>false</modify><br>
> </access><br>
> </limitations><br>
> </item><br>
><br>
> It works if I use the presentation layer instead of model or schema, <br>
> but I want to make the attribute immutable if reconciliation wants to <br>
> modify the attribute.<br>
><br>
> Probably my understanding of this feature is wrong. Could you provide <br>
> some clarification on this?<br>
> Thanks,<br>
> Yakov<br>
><br>
><br>
> _______________________________________________<br>
> midPoint mailing list<br>
> <a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
> <a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div>