docs: fix typo (#455)

This commit is contained in:
Josh Price 2022-11-23 14:06:03 +11:00 committed by GitHub
parent 692552d09b
commit 23fae2ee67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,7 +202,7 @@ defmodule Ash.Policy.Authorizer do
policies do policies do
# Anything you can use in a condition, you can use in a check, and vice-versa # 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 # 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. # failing the whole request, and that if this check *passes*, the entire request passes.
bypass actor_attribute_equals(:super_user, true) do bypass actor_attribute_equals(:super_user, true) do
authorize_if always() authorize_if always()