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.
Card
OG File, in certain circumstances, denies access, in spite of the user having proper OG access.
Conversation
OG allows for other entity types to be used for group access, but OG File assumes Node as the entity type used to provide access.
Confirmation
ogfile_file_entity_access returns FILE_ENTITY_ACCESS_ALLOW if the user is part an organic group with permissions to access the file, regardless of what entity type is used by Organic Groups to determine group access.
Comment | File | Size | Author |
---|---|---|---|
#3 | ogfile-support-all-og-entity-2868337-3-D7.patch | 3.18 KB | jfalkner |
Comments
Comment #2
jfalkner CreditAttribution: jfalkner as a volunteer and at Phase2 commentedMarked as Major since this bug completely breaks this module for any site using Organic Groups and not using the default Node entity type for group access assignment.
Comment #3
jfalkner CreditAttribution: jfalkner as a volunteer and at Phase2 commentedSee attached patch.