Patch #8109
Support for global permissions in acts_as_attachable
Status: | New | Start date: | 2011-04-08 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - |
Description
If an attachment is to be shown (e.g. an image) outside a project, view_permission
option does not work:
acts_as_attachable :view_permission => :view_attachments
This happens because acts_as_attachable
supports only project permissions. The attached patch adds support for global permissions as well...