summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-03-11 07:00:09 +0000
committerGo MAEDA <maeda@farend.jp>2021-03-11 07:00:09 +0000
commit4dfa6fc72461c4c880f264355ee4e0a375b1be9a (patch)
tree0b617d3e1d5189266db179dda5fe5d6ab43ed751 /lib/redmine.rb
parent34310eece6a60322e29ee67e44c7a6f9dfe69ef3 (diff)
downloadredmine-4dfa6fc72461c4c880f264355ee4e0a375b1be9a.tar.gz
redmine-4dfa6fc72461c4c880f264355ee4e0a375b1be9a.zip
Allow manually fetching changesets (#8875).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@20772 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 142b60888..551ea4005 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -178,7 +178,7 @@ Redmine::AccessControl.map do |map|
map.permission :browse_repository, {:repositories => [:show, :browse, :entry, :raw, :annotate, :changes, :diff, :stats, :graph]}, :read => true
map.permission :commit_access, {}
map.permission :manage_related_issues, {:repositories => [:add_related_issue, :remove_related_issue]}
- map.permission :manage_repository, {:projects => :settings, :repositories => [:new, :create, :edit, :update, :committers, :destroy]}, :require => :member
+ map.permission :manage_repository, {:projects => :settings, :repositories => [:new, :create, :edit, :update, :committers, :destroy, :fetch_changesets]}, :require => :member
end
map.project_module :boards do |map|