ash/test/support
Zach Daniel dc73c3a3d5 feat: add policy groups
Policy groups allow you to group policies by shared conditions.
This can help simplify the mental overhead of large sets of policies.

For example:

```elixir
policies do
  policy_group actor_attribute_equals(:role, :owner) do
    policy action_type(:read) do
      authorize_if expr(owner_id == ^actor(:id))
    end

    policy action_type([:create, :update, :destroy]) do
      forbid_if
      authorize_if expr(owner_id == ^actor(:id))
    end
  end
end
```
2024-08-09 16:48:54 -04:00
..
expressions improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
flow improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
policy_complex improvement: support atomics, update_query, destroy_query in ETS data layer 2024-04-25 22:18:54 -04:00
policy_field feat: Allow field policies to hide private fields (#1289) 2024-07-15 08:16:52 -04:00
policy_rbac improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
policy_simple feat: add policy groups 2024-08-09 16:48:54 -04:00
.gitkeep
authorizer.ex chore: fixes around policy exceptions 2024-05-10 15:26:23 -04:00
domain.ex improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
enum.ex chore: credo fix (#1347) 2024-07-25 18:08:32 -04:00
helpers.ex improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00