From 6beff4aeed51445c88dcf398e4d3f9e1180dafa8 Mon Sep 17 00:00:00 2001 From: ken-kost Date: Sat, 8 Feb 2025 19:22:30 +0100 Subject: [PATCH] Implement can? true for through --- lib/data_layer.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/data_layer.ex b/lib/data_layer.ex index bd1992d3..6aba4f72 100644 --- a/lib/data_layer.ex +++ b/lib/data_layer.ex @@ -694,6 +694,7 @@ defmodule AshPostgres.DataLayer do |> Enum.any?() end + def can?(_, :through), do: true def can?(_, :filter), do: true def can?(_, :limit), do: true def can?(_, :offset), do: true