Skip to content

Commit ba8431c

Browse files
update multitenancy documentation
1 parent cfb54e6 commit ba8431c

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

docs/images/multitenancy.png

207 KB
Loading

docs/multitenancy.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ functions:
2424
cpu: '0.6'
2525
image: ghcr.io/grycap/imagemagick
2626
script: script.sh
27-
vo: "vo.example.eu" # Needed to create services on OIDC enabled clusters
27+
vo: "vo.example.eu"
28+
isolation_level: USER
2829
allowed_users:
2930
- "62bb11b40398f73778b66f344d282242debb8ee3ebb106717a123ca213162926@egi.eu"
3031
- "5e14d33ac4abc96272cc163da6a200c2e18591bfb3b0f32a4c9c867f5e938463@egi.eu"
@@ -36,6 +37,24 @@ functions:
3637
path: grayify_multitenant/output
3738
```
3839
40+
## ISOLATION LEVEL
41+
42+
The isolation level variable has been added to the service definition for better privacy definition of the service. There are 2 modes available.
43+
44+
45+
### SERVICE
46+
47+
The service isolation level is the default value. If you isolate the service at the service level and use MinIO as the event source, the buckets you selected in the input/output sections will be created. These buckets will only be visible to the users defined in allowed_users.
48+
49+
50+
### USER
51+
52+
By isolating the service at the user level, in addition to creating the buckets specified in input/output, additional private buckets will be created. Each user defined in allowed_users will have access to one of the private buckets, which will also run the service if a file is uploaded to the /in folder located inside.
53+
54+
55+
> Managing Event: Currently, in version 3.3.2, uploading a file to the /in folder of any of the private buckets triggers the execution of the service, but the output is directed to the service’s private folder, as defined in the output. In future versions, it will be redirected to the private folders of the user.
56+
57+
![multitenancy-diagram](images/multitenancy.png)
3958
4059
> **_NOTE:_** A user can obtain its EGI User Id by login into https://aai.egi.eu/ (for the production instance of EGI Check-In) or https://aai-demo.egi.eu (for the demo instance of EGI Check-In).
4160

0 commit comments

Comments
 (0)