fix: honor the authorize? flag

This commit is contained in:
Zach Daniel 2020-06-05 14:35:02 -04:00
parent 547418e6e8
commit ff2e342741
No known key found for this signature in database
GPG key ID: C377365383138D4B

View file

@ -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: