From 75606712625ee3debade968e1d5850bf63cc4248 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 3 Dec 2022 17:58:09 +0100 Subject: [PATCH] fix permissions --- _define.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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',