Skip to content

Commit ca8e022

Browse files
authored
Fix opal cedar agent example
Remove unnecessary parent references from actions in data.json
1 parent 37b235d commit ca8e022

File tree

1 file changed

+5
-50
lines changed

1 file changed

+5
-50
lines changed

docker/docker_files/cedar_data/data.json

Lines changed: 5 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,15 @@
2929
},
3030
{
3131
"attrs": {},
32-
"parents": [
33-
{
34-
"id": "document",
35-
"type": "ResourceType"
36-
},
37-
{
38-
"id": "Editor",
39-
"type": "Role"
40-
}
41-
],
32+
"parents": [],
4233
"uid": {
4334
"id": "document:delete",
4435
"type": "Action"
4536
}
4637
},
4738
{
4839
"attrs": {},
49-
"parents": [
50-
{
51-
"id": "document",
52-
"type": "ResourceType"
53-
},
54-
{
55-
"id": "Editor",
56-
"type": "Role"
57-
}
58-
],
40+
"parents": [],
5941
"uid": {
6042
"id": "document:create",
6143
"type": "Action"
@@ -71,50 +53,23 @@
7153
},
7254
{
7355
"attrs": {},
74-
"parents": [
75-
{
76-
"id": "Editor",
77-
"type": "Role"
78-
},
79-
{
80-
"id": "document",
81-
"type": "ResourceType"
82-
}
83-
],
56+
"parents": [],
8457
"uid": {
8558
"id": "document:update",
8659
"type": "Action"
8760
}
8861
},
8962
{
9063
"attrs": {},
91-
"parents": [
92-
{
93-
"id": "document",
94-
"type": "ResourceType"
95-
},
96-
{
97-
"id": "Editor",
98-
"type": "Role"
99-
}
100-
],
64+
"parents": [],
10165
"uid": {
10266
"id": "document:list",
10367
"type": "Action"
10468
}
10569
},
10670
{
10771
"attrs": {},
108-
"parents": [
109-
{
110-
"id": "document",
111-
"type": "ResourceType"
112-
},
113-
{
114-
"id": "Editor",
115-
"type": "Role"
116-
}
117-
],
72+
"parents": [],
11873
"uid": {
11974
"id": "document:get",
12075
"type": "Action"

0 commit comments

Comments
 (0)