Fix jwt-token

This commit is contained in:
2025-09-15 06:58:21 +02:00
parent 159affb113
commit 6eafcbab19
5 changed files with 103 additions and 35 deletions

View File

@@ -73,13 +73,14 @@ const ROLES = {
'dashboard.view',
'devices.view',
'detections.view',
'alerts.view'
'alerts.view', 'alerts.create', 'alerts.edit',
'audit_logs.view'
],
// Branding/marketing specialist
'branding_admin': [
'tenant.view',
'branding.view', 'branding.edit',
'branding.view', 'branding.edit', 'branding.create',
'dashboard.view',
'devices.view',
'detections.view',
@@ -91,7 +92,7 @@ const ROLES = {
'tenant.view',
'dashboard.view',
'devices.view', 'devices.manage',
'detections.view',
'detections.view', 'detections.create',
'alerts.view', 'alerts.manage'
],