mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Require "Project.Audit" permission to duplicate a project and check if "Project.Allocate" permission for the destination.
This commit is contained in:
2 files changed
+21
-5
No files matched your search
@@ -80,7 +80,7 @@ class ResourcePoolsRepository(BaseRepository):
|
||||
await self._db_session.commit()
|
||||
return result.rowcount > 0
|
||||
|
||||
async def get_resource_memberships(self, resource_id: UUID) -> List[models.UserGroup]:
|
||||
async def get_resource_memberships(self, resource_id: UUID) -> List[models.ResourcePool]:
|
||||
"""
|
||||
Get all resource memberships in resource pools.
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user