Project

General

Profile

Actions

Feature #5095

open

allow plugins to add controllers and actions to existing permissions

Added by Lluís Gili almost 15 years ago. Updated almost 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
2010-03-16
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

This patch allows a plugin to add his actions to existing permissions, on init.rb should be called like this

add_permission :view_issues, :issues_plugin => [:index,:list,:show]

Files

add_to_permissions_from_plugins.patch (1.22 KB) add_to_permissions_from_plugins.patch patch Lluís Gili, 2010-03-16 13:46
add_to_permissions_from_plugins.patch (1.07 KB) add_to_permissions_from_plugins.patch updated for Redmine 1.3-stable branch Lluís Gili, 2012-03-23 11:59
Actions

Also available in: Atom PDF