File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 11import json
22from typing import Iterator
3- from uuid import uuid4
43
54from opal_common .schemas .data import JsonableValue
65
@@ -29,7 +28,6 @@ def _get_operations_for_update_relationship_tuple(
2928 fact = Fact (
3029 type = "relationship_tuples" ,
3130 attributes = {
32- "id" : str (uuid4 ()),
3331 "subject" : f"{ target_type } :{ target } " ,
3432 "relation" : relation ,
3533 "object" : obj ,
@@ -56,7 +54,6 @@ def _get_operations_for_update_role_assigment(
5654 fact = Fact (
5755 type = "role_assignments" ,
5856 attributes = {
59- "id" : str (uuid4 ()),
6057 "actor" : f"user:{ user_key } " ,
6158 "tenant" : subject_key ,
6259 "role" : role_key ,
@@ -69,7 +66,6 @@ def _get_operations_for_update_role_assigment(
6966 fact = Fact (
7067 type = "role_assignments" ,
7168 attributes = {
72- "id" : str (uuid4 ()),
7369 "actor" : f"user:{ user_key } " ,
7470 "tenant" : "" ,
7571 "role" : role_key ,
You can’t perform that action at this time.
0 commit comments