fix permissions

This commit is contained in:
Jean-Christian Paul Denis 2022-12-03 17:07:07 +01:00
parent 70069927b9
commit f5442e1eb2
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -21,7 +21,9 @@ $this->registerModule(
'0.10', '0.10',
[ [
'requires' => [['core', '2.24']], 'requires' => [['core', '2.24']],
'permissions' => dcAuth::PERMISSION_CONTENT_ADMIN, 'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_CONTENT_ADMIN,
]),
'type' => 'plugin', 'type' => 'plugin',
'support' => 'http://forum.dotclear.org/viewtopic.php?pid=333002#p333002', 'support' => 'http://forum.dotclear.org/viewtopic.php?pid=333002#p333002',
'details' => 'http://plugins.dotaddict.org/dc2/details/topWriter', 'details' => 'http://plugins.dotaddict.org/dc2/details/topWriter',