diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-05 20:08:46 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-05 20:08:46 +0000 |
commit | 26528d10048ab2f0ca62436486343ab01d3e35a1 (patch) | |
tree | f079dfec108bc6f0cbaba5b6e2bf8bc2a99f3333 /lib/redmine.rb | |
parent | df8945177abfce84e05a3e199ed596095bcc9ff1 (diff) | |
download | redmine-26528d10048ab2f0ca62436486343ab01d3e35a1.tar.gz redmine-26528d10048ab2f0ca62436486343ab01d3e35a1.zip |
'Manage repository' permission requires to be a project member.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@807 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 196bd019f..7217abe16 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -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 |