ash v0.1.1 Ash.Authorization.Check.UserField View Source

This check allows access if a field on the resource directly matches a field on the user.

Link to this section Summary

Link to this section Functions

Link to this function

check(user, data, _, opts)

View Source

Callback implementation for Ash.Authorization.Check.check/4.

Callback implementation for Ash.Authorization.Check.describe/1.

Callback implementation for Ash.Authorization.Check.init/1.

Link to this function

precheck(user, context, opts)

View Source

Callback implementation for Ash.Authorization.Check.precheck/3.