fix permissions

master
Jean-Christian Paul Denis 2022-12-03 17:58:09 +01:00
parent c5d09af24b
commit 7560671262
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,10 @@ $this->registerModule(
'0.9',
[
'requires' => [['core', '2.24']],
'permissions' => dcAuth::PERMISSION_ADMIN,
'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_USAGE,
dcAuth::PERMISSION_CONTENT_ADMIN,
]),
'priority' => 200,
'type' => 'plugin',
'support' => 'https://github.com/JcDenis/whiteListCom',