From 02480c5b3fe2ce1b2492dc19b17b2dc3b37a67c1 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 22 Apr 2023 11:56:05 +0200 Subject: [PATCH] fix permission --- src/Backend.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Backend.php b/src/Backend.php index 3a28fbe..211bb93 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -41,7 +41,6 @@ class Backend extends dcNsProcess dcPage::getPF(My::id() . '/icon.png'), preg_match('/' . preg_quote(dcCore::app()->adminurl->get('admin.plugin.' . My::id())) . '(&.*)?$/', $_SERVER['REQUEST_URI']), dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([ - dcAuth::PERMISSION_USAGE, My::PERMISSION, ]), dcCore::app()->blog->id) );