mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
fix: honor the authorize?
flag
This commit is contained in:
parent
547418e6e8
commit
ff2e342741
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,12 @@ defmodule Ash.Api.Interface do
|
|||
type: :any,
|
||||
doc: "The action to use, either an Action struct or the name of the action"
|
||||
],
|
||||
authorize?: [
|
||||
type: :boolean,
|
||||
default: false,
|
||||
doc:
|
||||
"If an actor is provided, authorization happens automatically. If not, this flag can be used to authorize with no user."
|
||||
],
|
||||
actor: [
|
||||
type: :any,
|
||||
doc:
|
||||
|
|
Loading…
Reference in a new issue