diff --git a/_define.php b/_define.php index 7c2a64b..61a5358 100644 --- a/_define.php +++ b/_define.php @@ -21,7 +21,10 @@ $this->registerModule( '0.9', [ 'requires' => [['core', '2.24']], - 'permissions' => dcAuth::PERMISSION_ADMIN, + 'permissions' => dcCore::app()->auth->makePermissions([ + dcAuth::PERMISSION_USAGE, + dcAuth::PERMISSION_CONTENT_ADMIN, + ]), 'priority' => 200, 'type' => 'plugin', 'support' => 'https://github.com/JcDenis/whiteListCom',