chore: update subproject policy tests

This commit is contained in:
Zach Daniel 2024-09-07 08:17:16 -04:00
parent f761f6241f
commit 28233f4d97
2 changed files with 3 additions and 3 deletions

View file

@ -74,10 +74,10 @@ jobs:
run: mix deps.get
working-directory: ./${{matrix.project.name}}
- run: mix test.create
if: ${{matrix.project.name == 'ash_postgres' || matrix.project.name == 'ash_sqlite' || matrix.project.name == 'ash_oban'}}
if: ${{matrix.project.name == 'ash_postgres' || matrix.project.name == 'ash_sqlite' || matrix.project.name == 'ash_archival' || matrix.project.name == 'ash_oban'}}
working-directory: ./${{matrix.project.name}}
- run: mix test.migrate
if: ${{matrix.project.name == 'ash_postgres' || matrix.project.name == 'ash_sqlite' || matrix.project.name == 'ash_oban'}}
if: ${{matrix.project.name == 'ash_postgres' || matrix.project.name == 'ash_sqlite' || matrix.project.name == 'ash_archival' || matrix.project.name == 'ash_oban'}}
working-directory: ./${{matrix.project.name}}
- run: mix test.migrate_tenants
if: ${{matrix.project.name == 'ash_postgres'}}

View file

@ -9,7 +9,7 @@ defmodule Ash.Policy.Info do
@doc "Whether or not Ash policy authorizer is configured to show policy breakdowns in error messages"
def show_policy_breakdowns? do
Keyword.get(Application.get_env(:ash, :policies, []), :show_policy_breakdowns?, true)
Keyword.get(Application.get_env(:ash, :policies, []), :show_policy_breakdowns?, false)
end
@doc "Whether or not Ash policy authorizer is configured to log policy breakdowns"