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

matsbla created an issue. See original summary.

matsbla’s picture

Component: Code » Documentation
Category: Feature request » Task

Okay, 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

jhedstrom’s picture

This 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.