I need to control access to files based on if the user owns the file. So I added "any" and "own" to update and delete, just like OG does with nodes.

CommentFileSizeAuthor
#2 ogfile-own_and_any-2723915-2.patch2.32 KBlogaritmisk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

logaritmisk created an issue. See original summary.

logaritmisk’s picture

Attach patch.

Chris Burge’s picture

Thanks for writing this patch. It tests out successfully for me.