fix permission

This commit is contained in:
Jean-Christian Paul 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'), dcPage::getPF(My::id() . '/icon.png'),
preg_match('/' . preg_quote(dcCore::app()->adminurl->get('admin.plugin.' . My::id())) . '(&.*)?$/', $_SERVER['REQUEST_URI']), preg_match('/' . preg_quote(dcCore::app()->adminurl->get('admin.plugin.' . My::id())) . '(&.*)?$/', $_SERVER['REQUEST_URI']),
dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([ dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_USAGE,
My::PERMISSION, My::PERMISSION,
]), dcCore::app()->blog->id) ]), dcCore::app()->blog->id)
); );