BUGFIX CommentAdmin implements PermissionProvider

fixes #288
This commit is contained in:
Jason Irish 2019-07-15 12:02:50 -05:00 committed by Robbie Averill
parent b3fe6d82b4
commit fbfead9c9e

View File

@ -8,6 +8,7 @@ use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\Form; use SilverStripe\Forms\Form;
use SilverStripe\Forms\Tab; use SilverStripe\Forms\Tab;
use SilverStripe\Forms\TabSet; use SilverStripe\Forms\TabSet;
use SilverStripe\Security\PermissionProvider;
use SilverStripe\Security\Security; use SilverStripe\Security\Security;
/** /**
@ -15,7 +16,7 @@ use SilverStripe\Security\Security;
* *
* @package comments * @package comments
*/ */
class CommentAdmin extends LeftAndMain class CommentAdmin extends LeftAndMain implements PermissionProvider
{ {
private static $url_segment = 'comments'; private static $url_segment = 'comments';