fix permissions

This commit is contained in:
Jean-Christian Paul Denis 2022-12-03 21:34:22 +01:00
parent 77fc94a924
commit c3debba5ff
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -21,10 +21,12 @@ $this->registerModule(
'0.1', '0.1',
[ [
'requires' => [['core', '2.24']], 'requires' => [['core', '2.24']],
'permissions' => dcAuth::PERMISSION_USAGE, 'permissions' => dcCore::app()->auth->makePermissions([
'type' => 'plugin', dcAuth::PERMISSION_USAGE,
'support' => 'https://github.com/JcDenis/mail2log', ]),
'details' => 'https://plugins.dotaddict.org/dc2/details/mail2log', 'type' => 'plugin',
'repository' => 'https://raw.githubusercontent.com/JcDenis/mail2log/master/dcstore.xml', 'support' => 'https://github.com/JcDenis/mail2log',
'details' => 'https://plugins.dotaddict.org/dc2/details/mail2log',
'repository' => 'https://raw.githubusercontent.com/JcDenis/mail2log/master/dcstore.xml',
] ]
); );