summaryrefslogtreecommitdiffstats
path: root/lib/redmine/default_data/loader.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-11 15:07:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-11 15:07:55 +0000
commit7a05f8ed66918e13315e647ecea620a716c4cbeb (patch)
treecb5098c39034e87ee3a22df22da2da087a29c6c8 /lib/redmine/default_data/loader.rb
parentcbacc71dff75f6abd6bfc5c4c4200b6c08528e0a (diff)
downloadredmine-7a05f8ed66918e13315e647ecea620a716c4cbeb.tar.gz
redmine-7a05f8ed66918e13315e647ecea620a716c4cbeb.zip
Adds permissions to let users edit and/or delete their messages (#854, patch by Markus Knittig with slight changes).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2019 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/default_data/loader.rb')
-rw-r--r--lib/redmine/default_data/loader.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine/default_data/loader.rb b/lib/redmine/default_data/loader.rb
index 1c3b1f939..b7cab56ca 100644
--- a/lib/redmine/default_data/loader.rb
+++ b/lib/redmine/default_data/loader.rb
@@ -65,6 +65,7 @@ module Redmine
:edit_wiki_pages,
:delete_wiki_pages,
:add_messages,
+ :edit_own_messages,
:view_files,
:manage_files,
:browse_repository,
@@ -85,6 +86,7 @@ module Redmine
:view_wiki_pages,
:view_wiki_edits,
:add_messages,
+ :edit_own_messages,
:view_files,
:browse_repository,
:view_changesets]