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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jfalkner created an issue. See original summary.

jfalkner’s picture

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

jfalkner’s picture

See attached patch.