mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Merge pull request #292 from jsirish/bugfix/adminPermissionProvider
BUGFIX CommentAdmin implements PermissionProvider
This commit is contained in:
commit
f4c82f238e
@ -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';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user