fix permission

This commit is contained in:
Jean-Christian Denis 2023-04-22 11:56:05 +02:00
parent ecc0ac08d8
commit 02480c5b3f
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -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)
);