Pre-authorization task.
Pre-authorization task. May block further execution. Empty right now.
Hook for dynamic constraint types.
Hook for dynamic constraint types.
Retrieves the current user, wrapped in an Option.
Retrieves the current user, wrapped in an Option.
Current request.
Current user, if logged in. None otherwise.
TODO: execute more meaningful action.
TODO: execute more meaningful action. Action if user is not authorized. Redirects user to login form if not authorized.
request leading to failure.
Redirect to login form.
Hooks for deadbolt