Permit.ResolverBase behaviour (permit v0.0.3)

Link to this section Summary

Link to this section Callbacks

Link to this callback

resolve(subject, module, resource_module, controller_action, map, arg6)

@callback resolve(
  Permit.Types.subject(),
  module(),
  Permit.Types.resource_module(),
  Permit.Types.controller_action(),
  map(),
  :all | :one
) :: {:authorized, term() | list()} | :unauthorized | :not_found