diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-09-13 16:45:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-09-13 16:45:01 +0000 |
commit | 455abea32042a9e612b72cdf88d158fa72cb7144 (patch) | |
tree | 4c1f313ed96bcf98817840520160cea1ad86b13e /test | |
parent | cc643ce932b2abdc56c4d1933c02806ca57ddefa (diff) | |
download | redmine-455abea32042a9e612b72cdf88d158fa72cb7144.tar.gz redmine-455abea32042a9e612b72cdf88d158fa72cb7144.zip |
Adds a permission 'view wiki edits' so that wiki history can be hidden to certain users (#1154).
A migration automatically adds this permission to roles that were allowed to view wiki pages.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1815 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/fixtures/roles.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fixtures/roles.yml b/test/fixtures/roles.yml index 234e971c4..74cba2706 100644 --- a/test/fixtures/roles.yml +++ b/test/fixtures/roles.yml @@ -30,6 +30,7 @@ roles_001: - :view_documents
- :manage_documents
- :view_wiki_pages
+ - :view_wiki_edits
- :edit_wiki_pages
- :protect_wiki_pages
- :delete_wiki_pages
@@ -72,6 +73,7 @@ roles_002: - :view_documents
- :manage_documents
- :view_wiki_pages
+ - :view_wiki_edits
- :edit_wiki_pages
- :protect_wiki_pages
- :delete_wiki_pages
@@ -109,6 +111,7 @@ roles_003: - :view_documents
- :manage_documents
- :view_wiki_pages
+ - :view_wiki_edits
- :edit_wiki_pages
- :delete_wiki_pages
- :add_messages
@@ -139,6 +142,7 @@ roles_004: - :view_documents
- :manage_documents
- :view_wiki_pages
+ - :view_wiki_edits
- :edit_wiki_pages
- :add_messages
- :view_files
@@ -159,6 +163,7 @@ roles_005: - :view_time_entries
- :view_documents
- :view_wiki_pages
+ - :view_wiki_edits
- :view_files
- :browse_repository
- :view_changesets
|