From adc36d0e84a74165d65550cded6402c1cbec8a1e Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Wed, 30 Nov 2022 23:56:33 +0100 Subject: [PATCH] fix permissions --- _define.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_define.php b/_define.php index a9f69d2..81581a8 100644 --- a/_define.php +++ b/_define.php @@ -21,7 +21,9 @@ $this->registerModule( '0.9', [ 'requires' => [['core', '2.24']], - 'permissions' => dcAuth::PERMISSION_ADMIN, + 'permissions' => dcCore::app()->auth->makePermissions([ + dcAuth::PERMISSION_ADMIN, + ]), 'priority' => 200, 'type' => 'plugin', 'support' => 'http://forum.dotclear.org/viewtopic.php?pid=332947#p332947',