Packages
A policy based authorizer for the Ash Framework
Retired package: Deprecated - Policy Authorization has been moved to the core ash library
Current section
Files
Jump to
Current section
Files
lib/ash_policy_authorizer/check/expression.ex
defmodule AshPolicyAuthorizer.Check.Expression do
@moduledoc "The check module used for `expr`s in policies"
use AshPolicyAuthorizer.FilterCheck
@impl true
def describe(opts) do
inspect(opts[:expr])
end
@impl true
def filter(opts) do
opts[:expr]
end
end