View Source AshRbac.HasRole (ash_rbac v0.6.1)

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

prefer_expanded_description?()

View Source

Callback implementation for Ash.Policy.Check.prefer_expanded_description?/0.

Link to this function

requires_original_data?(_, _)

View Source

Callback implementation for Ash.Policy.Check.requires_original_data?/2.

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.