fix permissions

This commit is contained in:
Jean-Christian Paul Denis 2022-11-30 23:56:33 +01:00
parent 00011d4869
commit adc36d0e84
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -21,7 +21,9 @@ $this->registerModule(
'0.9',
[
'requires' => [['core', '2.24']],
'permissions' => dcAuth::PERMISSION_ADMIN,
'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_ADMIN,
]),
'priority' => 200,
'type' => 'plugin',
'support' => 'http://forum.dotclear.org/viewtopic.php?pid=332947#p332947',