diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-04-22 15:43:57 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-04-22 15:43:57 +0000 |
commit | 2c898d8a817ee5bd1182cf111db5f8fa1e91e870 (patch) | |
tree | b34762bc3c7211232379f7b07aa392e3715e1e81 /lib | |
parent | 9b595c689d06ffc1386e242177358711bdbf5c3a (diff) | |
download | redmine-2c898d8a817ee5bd1182cf111db5f8fa1e91e870.tar.gz redmine-2c898d8a817ee5bd1182cf111db5f8fa1e91e870.zip |
Refactor: Split IssuesController#new to #new and #create to match REST pattern.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3688 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index f510d5d11..ce8e3211b 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -62,7 +62,7 @@ Redmine::AccessControl.map do |map| :versions => [:show, :status_by], :queries => :index, :reports => [:issue_report, :issue_report_details]} - map.permission :add_issues, {:issues => [:new, :update_form]} + map.permission :add_issues, {:issues => [:new, :create, :update_form]} map.permission :edit_issues, {:issues => [:edit, :update, :reply, :bulk_edit, :update_form]} map.permission :manage_issue_relations, {:issue_relations => [:new, :destroy]} map.permission :manage_subtasks, {} |