summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-01 13:13:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-01 13:13:04 +0000
commit50096526bcb0e7a91562ae15d3d97c6cab241439 (patch)
tree421b5e185b43eb86a503ef4e9ff06c3d6bffe9c7 /lib
parentc6e8cf5c21dd1f1e18373c948c2e16f20b2eb5f3 (diff)
downloadredmine-50096526bcb0e7a91562ae15d3d97c6cab241439.tar.gz
redmine-50096526bcb0e7a91562ae15d3d97c6cab241439.zip
Removed ProjectsController#feeds. This view was incomplete and inconsistent with permissions.
Feeds can still be accessed from the corresponding screens (eg. news feed is accessible from the news view). git-svn-id: http://redmine.rubyforge.org/svn/trunk@787 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index f70ad8df5..196bd019f 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -13,7 +13,7 @@ REDMINE_SUPPORTED_SCM = %w( Subversion Darcs Mercurial Cvs )
# Permissions
Redmine::AccessControl.map do |map|
- map.permission :view_project, {:projects => [:show, :activity, :feeds]}, :public => true
+ map.permission :view_project, {:projects => [:show, :activity]}, :public => true
map.permission :search_project, {:search => :index}, :public => true
map.permission :edit_project, {:projects => [:settings, :edit]}, :require => :member
map.permission :select_project_modules, {:projects => :modules}, :require => :member