mirror of
https://github.com/ash-project/ash.git
synced 2024-09-19 13:03:02 +12:00
fix: don't repor the action as the actor for policy breakdowns
fixes #1441
This commit is contained in:
parent
7c1808bd9e
commit
0dde9f0fc1
1 changed files with 1 additions and 1 deletions
|
@ -1550,7 +1550,7 @@ defmodule Ash.Policy.Authorizer do
|
|||
for_fields: opts[:for_fields],
|
||||
resource: Map.get(authorizer, :resource),
|
||||
action: Map.get(authorizer, :action),
|
||||
actor: Map.get(authorizer, :action),
|
||||
actor: Map.get(authorizer, :actor),
|
||||
scenarios: []
|
||||
)}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue