AshWorkflow.Calculations.AvailableActions (AshWorkflow v0.6.0)

Copy Markdown View Source

Ash calculation that returns the list of user-facing actions available for a workflow record's current step.

When an actor is present in the context, filters the list to only actions the actor is authorized to perform.

Summary

Functions

describe(opts)

Callback implementation for Ash.Resource.Calculation.describe/1.

has_calculate?()

has_expression?()

Callback implementation for Ash.Resource.Calculation.has_expression?/0.

init(opts)

Callback implementation for Ash.Resource.Calculation.init/1.

strict_loads?()

Callback implementation for Ash.Resource.Calculation.strict_loads?/0.