Liberator.Resource.allowed-question-mark
You're seeing just the callback
allowed-question-mark
, go back to Liberator.Resource module for more information.
Specs
allowed?(Plug.Conn.t()) :: true | false
Check the authentication information in the request to see if it has the necessary permissions.
Note the difference between authorized?/1
and allowed?/1
.
This function checks if the given request is allowed to perform an action,
but isn't responsible for checking the presence of authentication information in the first place.
By default, always returns true
.