diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2021-07-26 21:26:01 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2021-07-26 21:26:01 +0000 |
commit | f1dc9d9b4dba82c35d08862e37833069fc97d46c (patch) | |
tree | f7d48e5ad0ed6e9e96bed8fe968bfb95a69de7a0 /lib/redmine.rb | |
parent | 0765042d64828b277adc47e3a9120f38ca4e96fe (diff) | |
download | redmine-f1dc9d9b4dba82c35d08862e37833069fc97d46c.tar.gz redmine-f1dc9d9b4dba82c35d08862e37833069fc97d46c.zip |
Remove 'edit' action from :manage_wiki permission definition in Redmine::AccessControl. Wikis#edit is removed by r17018. (#35610).
Patch by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@21086 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-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 caf23abbc..1328935da 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -174,7 +174,7 @@ Redmine::AccessControl.map do |map| map.permission :add_wiki_page_watchers, {:watchers => [:new, :create, :autocomplete_for_user]} map.permission :delete_wiki_page_watchers, {:watchers => :destroy} map.permission :protect_wiki_pages, {:wiki => :protect}, :require => :member - map.permission :manage_wiki, {:wikis => [:edit, :destroy], :wiki => :rename}, :require => :member + map.permission :manage_wiki, {:wikis => :destroy, :wiki => :rename}, :require => :member end map.project_module :repository do |map| |