Project

General

Profile

Actions

Patch #8109

open

Support for global permissions in acts_as_attachable

Added by Andriy Lesyuk over 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-04-08
Due date:
% Done:

0%

Estimated time:

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


Files

acts_as_attachable.rb.patch (1.03 KB) acts_as_attachable.rb.patch Patch for acts_as_attachable.rb Andriy Lesyuk, 2011-04-08 23:09

No data to display

Actions

Also available in: Atom PDF