diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-15 13:30:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-15 13:30:25 +0000 |
commit | 6c8708f7e240834614cb184b27adb6d7f6567b26 (patch) | |
tree | cd9c06ce532395e05e9c2bb2b83a341a469a6853 /lib/redmine.rb | |
parent | 20430960115f90b8b49370fa3824498d6640ead7 (diff) | |
download | redmine-6c8708f7e240834614cb184b27adb6d7f6567b26.tar.gz redmine-6c8708f7e240834614cb184b27adb6d7f6567b26.zip |
Makes set_own_issues_private permission not available to anonymous.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5468 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 72d6b3511..283f0250f 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -72,7 +72,7 @@ Redmine::AccessControl.map do |map| map.permission :manage_issue_relations, {:issue_relations => [:new, :destroy]} map.permission :manage_subtasks, {} map.permission :set_issues_private, {} - map.permission :set_own_issues_private, {} + map.permission :set_own_issues_private, {}, :require => :loggedin map.permission :add_issue_notes, {:issues => [:edit, :update], :journals => [:new]} map.permission :edit_issue_notes, {:journals => :edit}, :require => :loggedin map.permission :edit_own_issue_notes, {:journals => :edit}, :require => :loggedin |