Wiki source code of Data Proxy

Version 9.1 by alexisdurieux on 2021/01/06 11:35

Show last authors
1 (% class="jumbotron" %)
2 (((
3 (% class="container" %)
4 (((
5 (% style="text-align: justify;" %)
6 = Data Proxy =
7
8 (% style="text-align: justify;" %)
9 Documentation
10 )))
11 )))
12
13 (% class="row" %)
14 (((
15 (% class="col-xs-12 col-sm-4" %)
16 (((
17 (% style="text-align: justify;" %)
18 The data proxy core is the application that acts as a proxy to the CSCS Swift storage.
19
20 (% style="text-align: justify;" %)
21 ==== Authentication ====
22
23 (% style="text-align: justify;" %)
24 The application itself is connected to the CSCS storage. The user is authenticated against the data-proxy application using an authorization headers. The user is then authenticated against the EBRAINS platform. That means the user only needs to have a ebrains account to access the data proxy and the swift storage capabilities
25
26 (% style="text-align: justify;" %)
27 === Bucket system ===
28
29 (% style="text-align: justify;" %)
30 We use the collaboratory authorization system for the buckets.
31
32 (% style="text-align: justify;" %)
33 For every collab, it is possible to access a swift container as a user. The action the user can perform on the buckets depend on the rights the user has in the collab
34
35 (% border="3" %)
36 |=(% style="text-align: justify;" %)Collab Right|=(% style="text-align: justify;" %)Available actions on bucket
37 |(% style="text-align:justify" %)Viewer|(% style="text-align:justify" %)Read
38 |(% style="text-align:justify" %)Editor|(% style="text-align:justify" %)Create, Read, Update, Delete
39 |(% style="text-align:justify" %)Admin|(% style="text-align:justify" %)Create, Read, Update, Delete
40 |(% style="text-align:justify" %)Not a collab member|(% style="text-align:justify" %)No actions
41
42 (% style="text-align: justify;" %)
43 **Should the editor be able to create the bucket in the first place ?**
44
45
46 (% style="text-align: justify;" %)
47 === **Api description** ===
48
49 (% style="text-align: justify;" %)
50
51 )))
52
53 [[image:Screenshot_2021-01-06 FastAPI - Swagger UI.png]]
54 )))