fix permissions

This commit is contained in:
Jean-Christian Paul Denis 2022-12-02 01:12:33 +01:00
parent 1b821578a4
commit 45adfdb7f5
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -22,7 +22,7 @@ dcCore::app()->addBehavior('adminDashboardFavoritesV2', function (dcFavorites $f
'url' => dcCore::app()->adminurl->get('admin.plugin.pacKman') . '#packman-repository-repository', 'url' => dcCore::app()->adminurl->get('admin.plugin.pacKman') . '#packman-repository-repository',
'small-icon' => [dcPage::getPF('pacKman/icon.svg'), dcPage::getPF('pacKman/icon-dark.svg')], 'small-icon' => [dcPage::getPF('pacKman/icon.svg'), dcPage::getPF('pacKman/icon-dark.svg')],
'large-icon' => [dcPage::getPF('pacKman/icon.svg'), dcPage::getPF('pacKman/icon-dark.svg')], 'large-icon' => [dcPage::getPF('pacKman/icon.svg'), dcPage::getPF('pacKman/icon-dark.svg')],
'permissions' => dcCore::app()->auth->isSuperAdmin(), //'permissions' => dcCore::app()->auth->isSuperAdmin(),
]); ]);
}); });