auth)) { return null; } $this->registerModule( 'Posts list options', 'Add some options on admin posts list', 'Jean-Christian Denis and Contributors', '2023.03.21', [ 'requires' => [['core', '2.25']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_ADMIN, ]), 'type' => 'plugin', 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', ] );