Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any easier way of creating read-only fields for all users except admin, not by setting permissions on every user or by creating a role and assigning it to every user/group?

share|improve this question
    
Have you tried assign the security permissions on sitecore\Everyone ? – Ahmed Okour 8 hours ago
up vote 7 down vote accepted

Modifying raw security values

  1. Open the Content Editor
  2. Locate the item that represents the template field
  3. On the View tab in the Ribbon, make sure the following checkboxes are checked:
    • Standard fields
    • Raw values
  4. Go to the Security section
  5. Insert the following text into the Security field:

    ar|sitecore\Everyone|pe|-field:write|
    
  6. Save the item.

Security setting

This will make the field read-only for all Sitecore users except the administrators. This is because Sitecore administrators can always edit all fields, regardless of security.

Note: if you want this to apply to users in all domains, use the following value:

ar|Everyone|pe|-field:write|pd|-field:write|

Using the Security Editor

You can also deny access to this field via the Security Editor UI. Just make sure that the "Field Write" column is shown by checking it in the Columns dialog in the Security Editor.

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.