DevUser
DevUser

Reputation: 751

How to apply security restriction on versions of items in Sitecore CMS?

Is it possible to apply security restrictions on older version of items? I would like to restrict read access to previous versions of item for particular roles.

Upvotes: 0

Views: 203

Answers (2)

Sean Holmesby
Sean Holmesby

Reputation: 2145

The security field is 'shared' across versions, meaning it's value it always the same across all versions of the item.

This is one of Sitecore's default fields, so I'd suggest not to change it.

However if you really want to, you can go to /sitecore/templates/System/Templates/Sections/Security and untick the box on the right called 'Shared' for the field '__Security'.

Then you can go to each item and manually change the security settings for each version.

Disclaimer: I have no idea what effect this could have on security applications, so I don't know if the security editor would stop working, or if Sitecore in general would start to slow. Either way, I would advise against doing this, as I'm not sure it's recommended.

Upvotes: 1

Ruud van Falier
Ruud van Falier

Reputation: 8877

You cannot set security on specific versions. If you change it for one version of an item, it will be changed for all versions of that item. I wonder in which case this could be useful though.

Upvotes: 3

Related Questions