View Source AshRbac.HasRole (ash_rbac v0.4.0)

Check to determine if the actor has a specific role or if the actor has any of the roles in a list

Summary

Functions

Link to this function

strict_check(actor, context, opts)

View Source

Callback implementation for Ash.Policy.Check.strict_check/3.

Callback implementation for Ash.Policy.Check.type/0.