diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-30 19:51:16 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-30 19:51:16 +0000 |
commit | c3c2a4afe0083bf704110c3d13ee7b80262293ee (patch) | |
tree | 984a572187e777532ad0f0b776a533bd485924d4 /lib | |
parent | 1a28bd8e7e3adf7a8423005cc39ccf0b151f3bda (diff) | |
download | redmine-c3c2a4afe0083bf704110c3d13ee7b80262293ee.tar.gz redmine-c3c2a4afe0083bf704110c3d13ee7b80262293ee.zip |
Resourcified documents.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8010 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-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 252c1ca62..6028599d2 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -102,7 +102,7 @@ Redmine::AccessControl.map do |map| end map.project_module :documents do |map| - map.permission :manage_documents, {:documents => [:new, :edit, :destroy, :add_attachment]}, :require => :loggedin + map.permission :manage_documents, {:documents => [:new, :create, :edit, :update, :destroy, :add_attachment]}, :require => :loggedin map.permission :view_documents, :documents => [:index, :show, :download] end |