I know that it's possible to personalize components. Is there also a way to personalize content items that are located in the Sitecore tree in a similar way?
Sitecore - Possible to personalize content items in tree?
196 views Asked by SpaceJump At
1
Users and roles cannot be queried in sitecore since they are not items (see this question, same goes for roles).
Unfortunately (?) you cannot grant write access to the __Security field via the Security Editor. You could create a custom field type that queries the roles.
If you actually want to set the access rights, you could create a processor in the saveUI pipeline that transfers the data of your field into the __Security field (you need to use SecurityDisabler). Use the framework functionality if possible so you don't have to construct the access rights string yourself.