-
Notifications
You must be signed in to change notification settings - Fork 0
/
permissions.drawio
190 lines (190 loc) · 15.4 KB
/
permissions.drawio
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<mxfile host="app.diagrams.net" modified="2024-01-23T01:43:38.938Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" etag="wAKC4VLOuOxGFGJNrBEA" version="22.1.21" type="device">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="825" dy="1605" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-2" value="" style="rounded=0;html=1;jettySize=auto;orthogonalLoop=1;fontSize=11;endArrow=block;endFill=0;endSize=8;strokeWidth=1;shadow=0;labelBackgroundColor=none;edgeStyle=orthogonalEdgeStyle;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-3" target="WIyWlLk6GJQsqaUBKTNV-6" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-3" value="User1 user creates a file file.txt with user2=can_view, user3=can_view/can_delete,<br>organization1=can_view,<br>space1_can_view permissions" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="60" y="60" width="220" height="75" as="geometry" />
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-5" value="Yes" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;jettySize=auto;orthogonalLoop=1;fontSize=11;endArrow=block;endFill=0;endSize=8;strokeWidth=1;shadow=0;labelBackgroundColor=none;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-6" target="WIyWlLk6GJQsqaUBKTNV-7" edge="1">
<mxGeometry y="10" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-6" target="WIyWlLk6GJQsqaUBKTNV-11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-4" value="No" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="R-CporMqG-9VKzhmSTbk-3">
<mxGeometry x="-0.3347" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-6" value="File already exists?" style="rhombus;whiteSpace=wrap;html=1;shadow=0;fontFamily=Helvetica;fontSize=12;align=center;strokeWidth=1;spacing=6;spacingTop=-4;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="120" y="210" width="100" height="80" as="geometry" />
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-7" value="409 error" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="320" y="190" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-11" target="R-CporMqG-9VKzhmSTbk-13">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-11">
<mxGeometry relative="1" as="geometry">
<mxPoint x="290" y="360.20000000000005" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-39" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="340" y="39.5" as="targetPoint" />
<mxPoint x="110" y="379.5" as="sourcePoint" />
<Array as="points">
<mxPoint x="110" y="380.5" />
<mxPoint x="30" y="380.5" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-11" value="file.txt created" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="110" y="340" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="R-CporMqG-9VKzhmSTbk-13">
<mxGeometry relative="1" as="geometry">
<mxPoint x="170" y="580" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-13" value="user2 deletes the file" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="110" y="460" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-16" value="403&nbsp;error" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="110" y="580" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="R-CporMqG-9VKzhmSTbk-18">
<mxGeometry relative="1" as="geometry">
<mxPoint x="460" y="360.20000000000005" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-18" value="user3 views the file" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="290" y="330" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-20" value="file displayed" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="460" y="330" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-21" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-11">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="410" y="380" as="sourcePoint" />
<mxPoint x="290" y="430" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="R-CporMqG-9VKzhmSTbk-22">
<mxGeometry relative="1" as="geometry">
<mxPoint x="460" y="430.20000000000005" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-22" value="user3 deletes the file" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="290" y="400" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="R-CporMqG-9VKzhmSTbk-24">
<mxGeometry relative="1" as="geometry">
<mxPoint x="520" y="500" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-24" value="file deleted" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="460" y="400" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="R-CporMqG-9VKzhmSTbk-26" target="R-CporMqG-9VKzhmSTbk-29">
<mxGeometry relative="1" as="geometry">
<mxPoint x="520" y="600" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-26" value="user1 views the file" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="460" y="500" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-29" value="404 error" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="460" y="580" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-30" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.955;exitY=0.004;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-11" target="R-CporMqG-9VKzhmSTbk-31">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="240" y="340" as="sourcePoint" />
<mxPoint x="290" y="290" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="R-CporMqG-9VKzhmSTbk-31" target="R-CporMqG-9VKzhmSTbk-33">
<mxGeometry relative="1" as="geometry">
<mxPoint x="460" y="290.20000000000005" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-31" value="user4 views the file" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="290" y="260" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-33" value="403 error" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="460" y="260.00000000000006" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-34" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-11">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="320" y="350" as="sourcePoint" />
<mxPoint x="290" y="490" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="R-CporMqG-9VKzhmSTbk-35" target="R-CporMqG-9VKzhmSTbk-37">
<mxGeometry relative="1" as="geometry">
<mxPoint x="350.1428571428571" y="550" as="targetPoint" />
<Array as="points" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-35" value="user1 views the file" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="290" y="470" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-37" value="File displayed<span style="white-space: pre;">	</span>" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="290" y="555" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-48" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" target="R-CporMqG-9VKzhmSTbk-43">
<mxGeometry relative="1" as="geometry">
<mxPoint x="510" y="-20" as="targetPoint" />
<mxPoint x="458.5" y="50" as="sourcePoint" />
<Array as="points">
<mxPoint x="459" y="51" />
<mxPoint x="500" y="51" />
<mxPoint x="500" y="-10" />
<mxPoint x="540" y="-10" />
<mxPoint x="540" y="-20" />
<mxPoint x="585" y="-20" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-40" value="arbitrary user views file" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="340" y="20" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-44" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.46;entryY=-0.017;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="R-CporMqG-9VKzhmSTbk-43" target="R-CporMqG-9VKzhmSTbk-46">
<mxGeometry relative="1" as="geometry">
<mxPoint x="580" y="170" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-45" value="yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="R-CporMqG-9VKzhmSTbk-44">
<mxGeometry x="-0.2993" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-54" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="R-CporMqG-9VKzhmSTbk-43" target="R-CporMqG-9VKzhmSTbk-47">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-55" value="No" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="R-CporMqG-9VKzhmSTbk-54">
<mxGeometry x="-0.4586" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-43" value="the user belongs to organization1 or space1?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="520" y="-10" width="130" height="140" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-46" value="file displayed" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="500" y="190" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="R-CporMqG-9VKzhmSTbk-47" value="403 error<span style="white-space: pre;">	</span><br>" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="380" y="100" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>