viewer_paths
get_current_user_allowed_viewer_paths(include_shared_projects=True, current_user=Depends(current_user_act_ver), db=Depends(get_async_db))
async
¶
Returns the allowed viewer paths for current user.
NOTE: include_shared_projects is an obsolete query-parameter name,
because it does not make a difference between owners/guests. A better
naming would be e.g. include_zarr_dirs, but it would require a fix
in fractal-web as well.
Source code in fractal_server/app/routes/auth/viewer_paths.py
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 | |