From fbfead9c9ed83581780c7cfb0cd5c2e4b780e100 Mon Sep 17 00:00:00 2001 From: Jason Irish Date: Mon, 15 Jul 2019 12:02:50 -0500 Subject: [PATCH] BUGFIX CommentAdmin implements PermissionProvider fixes #288 --- src/Admin/CommentAdmin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Admin/CommentAdmin.php b/src/Admin/CommentAdmin.php index 7cbd599..6ab90f0 100644 --- a/src/Admin/CommentAdmin.php +++ b/src/Admin/CommentAdmin.php @@ -8,6 +8,7 @@ use SilverStripe\Forms\FieldList; use SilverStripe\Forms\Form; use SilverStripe\Forms\Tab; use SilverStripe\Forms\TabSet; +use SilverStripe\Security\PermissionProvider; use SilverStripe\Security\Security; /** @@ -15,7 +16,7 @@ use SilverStripe\Security\Security; * * @package comments */ -class CommentAdmin extends LeftAndMain +class CommentAdmin extends LeftAndMain implements PermissionProvider { private static $url_segment = 'comments';