mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 14:51:13 +02:00
Basic functional RBAC support.
This commit is contained in:
1 parent
6d4da98b8e
commit
fbc47598d9
19 files changed
+527
-92
No files matched your search
@@ -114,6 +114,7 @@ class RoleUpdate(RoleBase):
|
||||
class Role(DateTimeModelMixin, RoleBase):
|
||||
|
||||
role_id: UUID
|
||||
builtin: bool
|
||||
permissions: List[Permission]
|
||||
|
||||
class Config:
|
||||
|
||||
@@ -85,7 +85,7 @@ class UserGroupUpdate(UserGroupBase):
|
||||
class UserGroup(DateTimeModelMixin, UserGroupBase):
|
||||
|
||||
user_group_id: UUID
|
||||
is_updatable: bool
|
||||
builtin: bool
|
||||
|
||||
class Config:
|
||||
orm_mode = True
|
||||
|
||||
Reference in new issue
Block a user