SYNC: next permissions

This commit is contained in:
SPRINX0\prochazka
2025-09-03 16:14:53 +02:00
committed by Diflow
parent fcb5811f37
commit cd97647818
2 changed files with 13 additions and 12 deletions

View File

@@ -110,21 +110,21 @@
{ command: 'settings.show' },
{ command: 'theme.changeTheme' },
{ command: 'settings.commands' },
{
hasPermission('widgets/app') && {
text: 'View applications',
onClick: () => {
$selectedWidget = 'app';
$visibleWidgetSideBar = true;
},
},
{
hasPermission('widgets/plugins') && {
text: 'Manage plugins',
onClick: () => {
$selectedWidget = 'plugins';
$visibleWidgetSideBar = true;
},
},
{
hasPermission('application-log') && {
text: 'View application logs',
onClick: () => {
openNewTab({