JoshBaltzell
JoshBaltzell

Reputation: 1494

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

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 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.

Upvotes: 2

Views: 378

Answers (1)

marto
marto

Reputation: 4180

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)

Upvotes: 1

Related Questions