mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
MINOR: restrict the available authors, because right now any Member can be an author which causes big slowdowns for edge case only
see: https://github.com/silverstripe/silverstripe-blog/issues/640
This commit is contained in:
parent
4a21824247
commit
acaeee82e7
@ -47,7 +47,7 @@ class BlogPost extends Page
|
|||||||
* given credit in the author field for blog posts
|
* given credit in the author field for blog posts
|
||||||
* @var string|bool false or group code
|
* @var string|bool false or group code
|
||||||
*/
|
*/
|
||||||
private static $restrict_authors_to_group = false;
|
private static $restrict_authors_to_group = 'CMS_ACCESS_CMSMain';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
|
Loading…
Reference in New Issue
Block a user