Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hi
is it possible to disable field permission for a field with a kind of additional radio chekbox with label : "disable field permission for this field" together with the existing radio button in field settings
thanks
Comments
Comment #2
mariacha1 CreditAttribution: mariacha1 at ThinkShout commentedHow would this be different from setting the field permission to "Public (author and administrators can edit, everyone can view)"?
Comment #3
delacosta456 CreditAttribution: delacosta456 commentedhi
using that kind of settings will it not impact the normal permission setting?
Comment #4
mariacha1 CreditAttribution: mariacha1 at ThinkShout commentedNope. "Public" is functionally equivalent to saying "Don't restrict." In fact, the field permission field_access hook checks whether a field is public and immediately exists if it is:
Are you seeing behavior where a field isn't showing up even though you've got it listed as "Public"?
Comment #5
delacosta456 CreditAttribution: delacosta456 commented"Are you seeing behavior where a field isn't showing up even though you've got it listed as "Public"?"
yes.But i will try a test of fiels_permission on a clean install and see how everything behave because on the project i am working actually there a lot of access module which may give confusion sometimes
thanks for your assistance.
Comment #6
jhedstromThere's an open issue to rename 'public' to something more meaningful: #2776953: Field visibility and permissions value "Public" is misleading.
Comment #7
delacosta456 CreditAttribution: delacosta456 commentedhi
ok thanks i will visit and comment
Comment #8
mariacha1 CreditAttribution: mariacha1 at ThinkShout commented