summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-09-06 19:11:59 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-09-06 19:11:59 +0000
commit649d69ea268bb16656413edee4a831ab4bb7b23f (patch)
tree594a24e74a9101f49339458343ee2f96e351fdcf /lib
parent1e65114d6894d7ce1ae6b7931d32e142971235c4 (diff)
downloadredmine-649d69ea268bb16656413edee4a831ab4bb7b23f.tar.gz
redmine-649d69ea268bb16656413edee4a831ab4bb7b23f.zip
Fix that deleting a closed or archived projects not working anymore after r20034 (#35827).
Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21210 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 684d484b5..5721667d8 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -90,7 +90,7 @@ Redmine::AccessControl.map do |map|
map.permission :add_project, {:projects => [:new, :create]}, :require => :loggedin
map.permission :edit_project, {:projects => [:settings, :edit, :update]}, :require => :member
map.permission :close_project, {:projects => [:close, :reopen]}, :require => :member, :read => true
- map.permission :delete_project, {:projects => :destroy}, :require => :member
+ map.permission :delete_project, {:projects => :destroy}, :require => :member, :read => true
map.permission :select_project_modules, {:projects => :modules}, :require => :member
map.permission :view_members, {:members => [:index, :show]}, :public => true, :read => true
map.permission :manage_members, {:projects => :settings, :members => [:index, :show, :new, :create, :edit, :update, :destroy, :autocomplete]}, :require => :member