fix permissions

This commit is contained in:
Jean-Christian Denis 2022-12-03 17:58:09 +01:00
parent c5d09af24b
commit 7560671262
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

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',