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.
I wonder if it would be interesting to make it possible to set premissions for the image file and the title/alt attributes? As example people can restrict possibility to edit the image file, but still make it possible for people to edit the image title.
I could try provide a patch for it, but would be great to get feedback from maintainer if this would be an interesting feature.
Comments
Comment #2
matsbla CreditAttribution: matsbla commentedOkay, have now put up a project for it here. We could merge it, if not it would be great to get the integration documented on project page:
https://www.drupal.org/project/image_field_permissions
Comment #3
jhedstromThis would be tricky for this module to implement, as those (I think anyway) are field properties, which are not covered by core's
hook_entity_field_access
hook. Similarly, base fields (eg, username, email, node title) are also not covered by that hook, so base field access would be difficult for this module to implement.