summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-15 14:23:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-15 14:23:06 +0000
commitfb1a2fd7cd4ca7335d660265a32604f6e2006dd6 (patch)
tree444bf09c5a63e91cc314de7c7e9fd78f93d1ff09 /lib/redmine.rb
parent6f462d373f1b57657082f22f882942d41df47a39 (diff)
downloadredmine-fb1a2fd7cd4ca7335d660265a32604f6e2006dd6.tar.gz
redmine-fb1a2fd7cd4ca7335d660265a32604f6e2006dd6.zip
Resourcified repositories for CRUD operations to prepare for multiple SCM per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8648 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 b33b5847c..b43a53b71 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -124,7 +124,7 @@ Redmine::AccessControl.map do |map|
end
map.project_module :repository do |map|
- map.permission :manage_repository, {:repositories => [:edit, :committers, :destroy]}, :require => :member
+ map.permission :manage_repository, {:repositories => [:new, :create, :edit, :update, :committers, :destroy]}, :require => :member
map.permission :browse_repository, :repositories => [:show, :browse, :entry, :annotate, :changes, :diff, :stats, :graph]
map.permission :view_changesets, :repositories => [:show, :revisions, :revision]
map.permission :commit_access, {}