'Manage repository' permission requires to be a project member.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@807 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-10-05 20:08:46 +00:00
parent df8945177a
commit 26528d1004
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ Redmine::AccessControl.map do |map|
end
map.project_module :repository do |map|
map.permission :manage_repository, :repositories => [:edit, :destroy]
map.permission :manage_repository, {:repositories => [:edit, :destroy]}, :require => :member
map.permission :browse_repository, :repositories => [:show, :browse, :entry, :changes, :diff, :stats, :graph]
map.permission :view_changesets, :repositories => [:show, :revisions, :revision]
end