summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-04 17:03:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-04 17:03:04 +0000
commit21b37187445f03c9395f5fc36b5bd1a42d99d980 (patch)
treee2e8b947d3c3b453b5be0a08e5a06e4e57d5a65a /lib
parent9fca4c440cbcf21a93db943b67acba68b83cf051 (diff)
downloadredmine-21b37187445f03c9395f5fc36b5bd1a42d99d980.tar.gz
redmine-21b37187445f03c9395f5fc36b5bd1a42d99d980.zip
Adds REST API for issue relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6176 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 283f0250f..e08a5eb01 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -69,7 +69,7 @@ Redmine::AccessControl.map do |map|
:reports => [:issue_report, :issue_report_details]}
map.permission :add_issues, {:issues => [:new, :create, :update_form]}
map.permission :edit_issues, {:issues => [:edit, :update, :bulk_edit, :bulk_update, :update_form], :journals => [:new]}
- map.permission :manage_issue_relations, {:issue_relations => [:new, :destroy]}
+ map.permission :manage_issue_relations, {:issue_relations => [:show, :create, :destroy]}
map.permission :manage_subtasks, {}
map.permission :set_issues_private, {}
map.permission :set_own_issues_private, {}, :require => :loggedin