-
Notifications
You must be signed in to change notification settings - Fork 0
/
fga.state.json
71 lines (71 loc) · 1.41 KB
/
fga.state.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "example-store",
"authorization_model": {
"type_definitions": [
{
"type": "user",
"relations": {}
},
{
"type": "file",
"relations": {
"can_read": {
"union": {
"child": [
{
"computedUserset": {
"object": "",
"relation": "owner"
}
},
{
"computedUserset": {
"object": "",
"relation": "viewer"
}
}
]
}
},
"can_edit": {
"computedUserset": {
"object": "",
"relation": "owner"
}
},
"can_delete": {
"computedUserset": {
"object": "",
"relation": "owner"
}
},
"owner": {
"this": {}
},
"viewer": {
"this": {}
}
}
}
],
"schema_version": "1.0"
},
"tuples": [
{
"user": "user:anne",
"relation": "owner",
"object": "file:0001"
},
{
"user": "user:beth",
"relation": "owner",
"object": "file:0002"
},
{
"user": "user:beth",
"relation": "viewer",
"object": "file:0001"
}
],
"assertions": []
}