Cantare v0.1.0 Cantare.Abilities View Source
Link to this section Summary
Link to this section Functions
Link to this function
can(entity_module, action, object_module, matcher)
View Source
can(entity_module, action, object_module, matcher)
View Source
can(
atom() | {atom(), nonempty_maybe_improper_list()},
atom(),
module(),
(... -> any())
) :: {atom(), nonempty_maybe_improper_list()}
can( atom() | {atom(), nonempty_maybe_improper_list()}, atom(), module(), (... -> any()) ) :: {atom(), nonempty_maybe_improper_list()}
Link to this function
can?(subject, action, object_schema, list) View Source
Link to this function