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.
The Field Permissions module exposes certain permissions based on the CCK field editing form. To make Admin Role work with Field Permissions, you need to add the form_id 'content_field_edit_form' to the list of forms which triggers the admin role permissions rebuild. Attached is a patch which accomplished that goal.
Comment | File | Size | Author |
---|---|---|---|
adminrole.module.patch | 502 bytes | joelstein | |
Comments
Comment #1
Ivo.Radulovski CreditAttribution: Ivo.Radulovski commentedvery nice
Comment #2
joelstein CreditAttribution: joelstein commentedAny possibility of getting this patch committed?
Comment #3
Dave ReidWould it better to support a hook of some kind that is invoked from Field Permissions?
Comment #4
joelstein CreditAttribution: joelstein commentedPerhaps... but it could take awhile to get something like that done, whereas this patch gets it done today. :)
Since Admin Role has a limited shelf life (as it's part of D7), I think something like this is just fine.
Comment #5
NancyDru