Feature #1543 » redmine.rb.patch
redmine.rb (working copy) | ||
---|---|---|
47 | 47 | |
48 | 48 |
# Permissions |
49 | 49 |
Redmine::AccessControl.map do |map| |
50 |
map.permission :view_project, {:projects => [:show], :activities => [:index]}, :public => true, :read => true |
|
50 |
map.permission :view_project, {:projects => [:show]}, :public => true, :read => true |
|
51 |
map.permission :view_activity, {:activities => [:index]}, :read => true |
|
51 | 52 |
map.permission :search_project, {:search => :index}, :public => true, :read => true |
52 | 53 |
map.permission :add_project, {:projects => [:new, :create]}, :require => :loggedin |
53 | 54 |
map.permission :edit_project, {:projects => [:settings, :edit, :update]}, :require => :member |