refac
This commit is contained in:
@@ -402,7 +402,7 @@ class AccessGrantsTable:
|
|||||||
results = []
|
results = []
|
||||||
for grant_dict in normalized_grants:
|
for grant_dict in normalized_grants:
|
||||||
grant = AccessGrant(
|
grant = AccessGrant(
|
||||||
id=grant_dict["id"],
|
id=str(uuid.uuid4()),
|
||||||
resource_type=resource_type,
|
resource_type=resource_type,
|
||||||
resource_id=resource_id,
|
resource_id=resource_id,
|
||||||
principal_type=grant_dict["principal_type"],
|
principal_type=grant_dict["principal_type"],
|
||||||
|
|||||||
Reference in New Issue
Block a user