开发者

How do I restrict Sitecore authors to only be able to edit items they created?

开发者 https://www.devze.com 2023-03-07 06:50 出处:网络
Is there a way to tell Sitecore (using workflow or some other way) that a user should only be able to modify the items that they created in Sitecore?

Is there a way to tell Sitecore (using workflow or some other way) that a user should only be able to modify the items that they created in Sitecore?

My only way 开发者_Go百科that I can think of to do it is to create a folder for each user that they have rights to and then use Sitecore Queries to gather the items for consumption on the website. That of course is not automatic and doesn't scale to a lot of content creators.


You can use workflow to achive this.

Create a custom action to do the following:

  1. Get the item
  2. Get the sitecore authoring role
  3. Remove inheritance for Write, Rename, Delete for the sitecore authoring role
  4. Add Write, Rename, Delete for the specific user
  5. Add the action to the initial step of you workflow
  6. add the workflow as the default workflow for your items (set it in the standard values for your templates)
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号