'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:
parent
df8945177a
commit
26528d1004
|
@ -73,7 +73,7 @@ Redmine::AccessControl.map do |map|
|
||||||
end
|
end
|
||||||
|
|
||||||
map.project_module :repository do |map|
|
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 :browse_repository, :repositories => [:show, :browse, :entry, :changes, :diff, :stats, :graph]
|
||||||
map.permission :view_changesets, :repositories => [:show, :revisions, :revision]
|
map.permission :view_changesets, :repositories => [:show, :revisions, :revision]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue