_data
DataSettings
¶
Bases: BaseSettings
Settings for the fractal-data integration.
Source code in fractal_server/config/_data.py
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 | |
FRACTAL_DATA_AUTH_SCHEME = 'none'
class-attribute
instance-attribute
¶
Defines how the list of allowed viewer paths is built.
This variable affects the GET /auth/current-user/allowed-viewer-paths/
response, which is then consumed by
fractal-data.
Options:
- "viewer-paths": The list of allowed viewer paths will include the user's
project_diralong with any path defined in user groups'viewer_pathsattributes. - "users-folders": The list will consist of the user's
project_dirand a user-specific folder. The user folder is constructed by concatenating the base folderFRACTAL_DATA_BASE_FOLDERwith the user's profileusername. - "none": An empty list will be returned, indicating no access to viewer paths. Useful when vizarr viewer is not used.
FRACTAL_DATA_BASE_FOLDER = None
class-attribute
instance-attribute
¶
Base path to Zarr files that will be served by fractal-vizarr-viewer; This variable is required and used only when FRACTAL_DATA_AUTHORIZATION_SCHEME is set to "users-folders".
check()
¶
FRACTAL_DATA_BASE_FOLDER is required when
FRACTAL_DATA_AUTHORIZATION_SCHEME is set to "users-folders".
Source code in fractal_server/config/_data.py
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | |