fix permissions

This commit is contained in:
Jean-Christian Paul Denis 2022-12-03 17:03:55 +01:00
parent 8e8ff0370e
commit b587696bcd
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -21,7 +21,9 @@ $this->registerModule(
'2022.11.20', '2022.11.20',
[ [
'requires' => [['core', '2.24']], 'requires' => [['core', '2.24']],
'permissions' => dcAuth::PERMISSION_ADMIN, 'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_ADMIN,
]),
'type' => 'plugin', 'type' => 'plugin',
'support' => 'https://github.com/JcDenis/saba', 'support' => 'https://github.com/JcDenis/saba',
'details' => 'https://plugins.dotaddict.org/dc2/details/saba', 'details' => 'https://plugins.dotaddict.org/dc2/details/saba',