mirror of
https://github.com/redmine/redmine.git
synced 2024-08-27 17:54:48 +02:00
Add permission option to wiki page activity provider.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5326 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
da6c149275
commit
8cf42fabf6
@ -32,6 +32,7 @@ class WikiPage < ActiveRecord::Base
|
||||
|
||||
acts_as_searchable :columns => ['title', 'text'],
|
||||
:include => [{:wiki => :project}, :content],
|
||||
:permission => :view_wiki_pages,
|
||||
:project_key => "#{Wiki.table_name}.project_id"
|
||||
|
||||
attr_accessor :redirect_existing_links
|
||||
|
Loading…
Reference in New Issue
Block a user