[management] restrict dashboard only to restrictable roles

This commit is contained in:
Pedro Costa
2025-04-16 19:34:20 +01:00
parent 974f297022
commit ab391ed9fa
8 changed files with 156 additions and 22 deletions

View File

@@ -188,9 +188,13 @@ components:
- auto_groups
- status
- is_blocked
- permissions
UserPermissions:
type: object
properties:
is_restricted:
type: boolean
description: Indicates whether this User's Peers view is restricted
modules:
type: object
additionalProperties:
@@ -219,6 +223,7 @@ components:
- write
required:
- default
- is_restricted
UserRequest:
type: object
properties: