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?
Modifying raw security values
- Open the Content Editor
- Locate the item that represents the template field
- On the View tab in the Ribbon, make sure the following checkboxes are checked:
- Standard fields
- Raw values
- Go to the Security section
Insert the following text into the Security field:
Save the item.
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:
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.