Sitecore - Possible to personalize content items in tree?

214 Views Asked by At

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?

1

There are 1 best solutions below

0
On

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.