summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-13 20:00:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-13 20:00:22 +0000
commita32822477170bf57a482365b8c6c47bd617147e3 (patch)
tree1efcf22510a985f3f0afb607610a45f7e7b79e33 /lib/redmine.rb
parent37aa016740399f2adffe43a509571b13e9025b9b (diff)
downloadredmine-a32822477170bf57a482365b8c6c47bd617147e3.tar.gz
redmine-a32822477170bf57a482365b8c6c47bd617147e3.zip
Removed IssuesController#update_form action, use #new and #edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index fc05a142d..f041082a8 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -98,14 +98,14 @@ Redmine::AccessControl.map do |map|
:queries => :index,
:reports => [:issue_report, :issue_report_details]},
:read => true
- map.permission :add_issues, {:issues => [:new, :create, :update_form], :attachments => :upload}
- map.permission :edit_issues, {:issues => [:edit, :update, :bulk_edit, :bulk_update, :update_form], :journals => [:new], :attachments => :upload}
- map.permission :copy_issues, {:issues => [:new, :create, :bulk_edit, :bulk_update, :update_form], :attachments => :upload}
+ map.permission :add_issues, {:issues => [:new, :create], :attachments => :upload}
+ map.permission :edit_issues, {:issues => [:edit, :update, :bulk_edit, :bulk_update], :journals => [:new], :attachments => :upload}
+ map.permission :copy_issues, {:issues => [:new, :create, :bulk_edit, :bulk_update], :attachments => :upload}
map.permission :manage_issue_relations, {:issue_relations => [:index, :show, :create, :destroy]}
map.permission :manage_subtasks, {}
map.permission :set_issues_private, {}
map.permission :set_own_issues_private, {}, :require => :loggedin
- map.permission :add_issue_notes, {:issues => [:edit, :update, :update_form], :journals => [:new], :attachments => :upload}
+ map.permission :add_issue_notes, {:issues => [:edit, :update], :journals => [:new], :attachments => :upload}
map.permission :edit_issue_notes, {:journals => :edit}, :require => :loggedin
map.permission :edit_own_issue_notes, {:journals => :edit}, :require => :loggedin
map.permission :view_private_notes, {}, :read => true, :require => :member