- Issue created by @erutan
I would like non-admin roles that should not be able to edit storage entities to be able to view the contents of file fields. Clicking on either a manual link from rewriting the field via the url formatter or from the generic file formatter leads to a permission denied page without checking "View published Storage entities" for a role (I've tried https://www.drupal.org/project/private_files_download_permission β and https://www.drupal.org/project/field_permissions β to try and override this). Note that all other field types work normally in views.
Due to https://www.drupal.org/project/storage/issues/3457737 π If displaying a rendered entity in a view, role must have edit permissions to avoid fatal memory exhaustion. Active if I allow a role to view published storage entities without edit permissions for them, it leads to a white screen of death.
Add a file field to a storage entity type
Upload a file to an entity
Try to view that file with a role that does not have edit access to that file
TBH the redirect behaviour in this module seems to be causing issues, I wouldn't mind just having to manually set up rabbit hole or something.
Active
1.3
Code