mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Add description for user permission.
This commit is contained in:
1 parent
fbc47598d9
commit
2e2e31337a
1 file changed
+1
@@ -313,6 +313,7 @@ class RbacRepository(BaseRepository):
|
||||
|
||||
# Create a new permission with full rights
|
||||
new_permission = schemas.PermissionCreate(
|
||||
description=f"Allow access to project {path}",
|
||||
methods=[HTTPMethods.get, HTTPMethods.head, HTTPMethods.post, HTTPMethods.put, HTTPMethods.delete],
|
||||
path=path,
|
||||
action=PermissionAction.allow
|
||||
|
||||
Reference in new issue
Block a user