mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
docs: fix typo (#455)
This commit is contained in:
parent
692552d09b
commit
23fae2ee67
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ defmodule Ash.Policy.Authorizer do
|
|||
policies do
|
||||
# Anything you can use in a condition, you can use in a check, and vice-versa
|
||||
# This policy applies if the actor is a super_user
|
||||
# Addtionally, this policy is declared as a `bypass`. That means that this check is allowed to fail without
|
||||
# Additionally, this policy is declared as a `bypass`. That means that this check is allowed to fail without
|
||||
# failing the whole request, and that if this check *passes*, the entire request passes.
|
||||
bypass actor_attribute_equals(:super_user, true) do
|
||||
authorize_if always()
|
||||
|
|
Loading…
Reference in a new issue