dservercore.utils_auth
Auth utility functions.
Functions
|
Return True if user has admin rights. |
|
Return list of base URIs the user may regiester datasets to. |
|
Return list of base URIs the user may search. |
|
Return True if user has privileges to access the dataset URI. |
|
Return True if user has privileges to register on the base URI. |
|
Return True if user has privileges to search the base URI. |
|
Return True if the user exists. |
- dservercore.utils_auth.user_exists(username)
Return True if the user exists.
- dservercore.utils_auth.has_admin_rights(username)
Return True if user has admin rights.
- dservercore.utils_auth.may_search(username, base_uri)
Return True if user has privileges to search the base URI.
- dservercore.utils_auth.may_access(username, uri)
Return True if user has privileges to access the dataset URI.
- dservercore.utils_auth.may_register(username, base_uri)
Return True if user has privileges to register on the base URI.
- dservercore.utils_auth.list_search_base_uris(username)
Return list of base URIs the user may search.
- dservercore.utils_auth.list_register_base_uris(username)
Return list of base URIs the user may regiester datasets to.