simple_can v1.0.0 SimpleCan.Can protocol View Source

The protocol you should implement for each type of actor you want to check authorization for.

Link to this section Summary

Functions

Can the given actor perform the desired action on the subject?

Link to this section Types

Link to this section Functions

Link to this function can?(actor, action, subject) View Source

Can the given actor perform the desired action on the subject?