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 if user has right permission for resource
call code if 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 if user is a server admin
call code if user is a server admin
get user if logged in
get user if logged in
Dataset.
Dataset by section.
Return user based on request object
Return user based on request object
List datasets.
Display the page that allows users to create new datasets
Sorted List of datasets within a space Since this only works within a space right now, it just checks to see if the user has permission to view the space (which takes into account the public settings) and, if so, calls the method to list all datasets in the space, regardless of status/public view flags, etc.
Sorted List of datasets within a space Since this only works within a space right now, it just checks to see if the user has permission to view the space (which takes into account the public settings) and, if so, calls the method to list all datasets in the space, regardless of status/public view flags, etc. To generalize for sorting of other lists, the permission checks will need to be in the dataset query (as in the list method).
String name of the Space such as 'Project space' etc.
String name of the Space such as 'Project space' etc., from conf/messages
Controller flow that handles the new multi file uploader workflow for creating a new dataset.
Controller flow that handles the new multi file uploader workflow for creating a new dataset. Requires name, description, and id for the dataset. The interface should validate to ensure that these are present before reaching this point, but the checks are made here as well.
A dataset is a collection of files and streams.