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:
Nicolaas 2021-03-26 10:28:13 +13:00 committed by GitHub
parent 4a21824247
commit acaeee82e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class BlogPost extends Page
* given credit in the author field for blog posts
* @var string|bool false or group code
*/
private static $restrict_authors_to_group = false;
private static $restrict_authors_to_group = 'CMS_ACCESS_CMSMain';
/**
* {@inheritDoc}