SYNC: settings permissions

This commit is contained in:
SPRINX0\prochazka
2025-09-04 09:15:46 +02:00
committed by Diflow
parent 3ca514c85b
commit 8ced6aa205
4 changed files with 26 additions and 24 deletions

View File

@@ -107,9 +107,9 @@
const left = rect.right;
const top = rect.bottom;
const items = [
{ command: 'settings.show' },
hasPermission('settings/change') && { command: 'settings.show' },
{ command: 'theme.changeTheme' },
{ command: 'settings.commands' },
hasPermission('settings/change') && { command: 'settings.commands' },
hasPermission('widgets/app') && {
text: 'View applications',
onClick: () => {