Please implement a way to "View anyone's value for field (uneditable)".
That is, rather than hiding the field completely (or not rendering it) in the admin UI I would like a permission that allows content editors to see the field and/or its value yet being unable to edit it.
Whether this is a disabled form field or plain text might need further discussion.
For any administrator it's helpful to have the option of having information at hand even if you can't edit it.
Comments
Comment #1
igalarza commentedSuscribe. I would like to have this permission, the field will render on edit page but it will be uneditable.
Comment #2
sheldon rampton commentedI have a similar situation where I need to be able to show some fields on the node edit form, but only enable editing of those fields for certain user roles. However, even user roles that cannot edit those fields need to be able to see them while editing. The field_permissions module does not currently support this functionality, but I think it would be a worthwhile enhancement. I realize that adding this functionality could be a bit tricky, but as a possible starting-point, here's some code that I put into a custom "job" module to designate a few fields as read-only:
I think my use case is the sort of functionality that would be appropriate to delegate to a contrib module such as field_permissions. I've filed a comment on an issue ticket there relating to this. However, adding a "view as read-only widget during editing" option to node access definitions in Drupal core would make it easier to do this and also to develop other contrib modules that might have other ways of deciding when to make fields read-only during editing.
Comment #3
Yuri commentedI'm also very much in need of such a feature. I tried solution #2 but for some reason that does not work, the fields are still editable in node/add
Comment #4
mordonez commentedSorry I attached a solution in another issue #1547172: Read only just greyed out
Comment #4.0
mordonez commentedRe-wrote the entire request for better explanation.
Comment #5
anrikun commentedYou may try the Field Readonly module.