Openmaize.Authorize.Base
Base module to handle authorization.
This module provides functions that are called by the
various authorization Plugs
.
Summary
authorized?(arg1, conn, arg3) | Final step in the authorization process |
full_check(conn, opts, data) | Function that performs a basic check to see if the path / resource is protected and if the user is permitted to access the path |
part_check(conn, data) | Function that performs the same basic check as full_check, but does
not call the |
Functions
Final step in the authorization process.
Function that performs a basic check to see if the path / resource is protected and if the user is permitted to access the path.
Function that performs the same basic check as full_check, but does
not call the authorized?
function.
This can be used by Plugs that make further checks in addition to the
basic authorization. See Openmaize.Authorize.IdCheck
for an example
of a Plug that provides finer-grained authorization.