fix permisions

This commit is contained in:
Jean-Christian Paul Denis 2022-12-02 01:00:53 +01:00
parent 391efb1816
commit acd90028eb
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -22,7 +22,7 @@ dcCore::app()->addBehavior('adminDashboardFavoritesV2', function ($favs) {
'url' => dcCore::app()->adminurl->get('admin.plugin.licenseBootstrap'), 'url' => dcCore::app()->adminurl->get('admin.plugin.licenseBootstrap'),
'small-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')), 'small-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')),
'large-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')), 'large-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')),
'permissions' => dcCore::app()->auth->isSuperAdmin(), //'permissions' => dcCore::app()->auth->isSuperAdmin(),
]); ]);
}); });