fix permission
This commit is contained in:
parent
ecc0ac08d8
commit
02480c5b3f
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue