diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-05-05 01:01:29 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-05-05 01:01:29 +0000 |
commit | b0414ec1fbabfa8fa84e69eedcf7617fb969fd82 (patch) | |
tree | 9c3f633024197ef7756a40c584a25d6545944306 /lib/redmine.rb | |
parent | 569e1b37cc0893cd8b1015a6d12212b205f0fbdf (diff) | |
download | redmine-b0414ec1fbabfa8fa84e69eedcf7617fb969fd82.tar.gz redmine-b0414ec1fbabfa8fa84e69eedcf7617fb969fd82.zip |
route: scm: split entry and raw actions
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9625 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 9cd025c69..6b74af731 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -125,7 +125,7 @@ Redmine::AccessControl.map do |map| map.project_module :repository do |map| 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 :browse_repository, :repositories => [:show, :browse, :entry, :raw, :annotate, :changes, :diff, :stats, :graph] map.permission :view_changesets, :repositories => [:show, :revisions, :revision] map.permission :commit_access, {} map.permission :manage_related_issues, {:repositories => [:add_related_issue, :remove_related_issue]} |