call code iff user is logged in
call code iff user is logged in
Disable a route without having to comment out the entry in the routes file.
Disable a route without having to comment out the entry in the routes file. Useful for when we want to keep the code around but we don't want users to have access to it.
call code iff user has right permission for resource
call code iff user has right permission for resource
Use when you want to require the user to be logged in on a private server or the server is public.
Use when you want to require the user to be logged in on a private server or the server is public.
call code iff user is a server admin
call code iff user is a server admin
get user if logged in
get user if logged in
Delete a folder and all its children (files and folders).
Delete a folder and all its children (files and folders).
FIXME: Messages go out on RabbitMQ and then files are deleted. If an extractor needs a file that has just been deleted it might not find it (depending on the length of the queue. This is not the only place where this can happen and it's a common issue with delete RabbitMQ messages.
Return user based on request object
Return user based on request object
traverse subfiles directly/indirectly under this folder and send file deletion event to rabbitmq.
traverse subfiles directly/indirectly under this folder and send file deletion event to rabbitmq.
Clowder host
user apikey
Folders are ways of organizing files within datasets. They can contain files and folders