Skip to content

Commit

Permalink
fix: don't repor the action as the actor for policy breakdowns
Browse files Browse the repository at this point in the history
fixes #1441
  • Loading branch information
zachdaniel committed Sep 7, 2024
1 parent 7c1808b commit 0dde9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ash/policy/authorizer/authorizer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0dde9f0

Please sign in to comment.