fix permissions

master
Jean-Christian Paul Denis 2022-12-08 22:24:27 +01:00
parent 11b700544a
commit 7b66f9ebda
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 3 additions and 1 deletions

View File

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