Skip to content

Commit

Permalink
Implement can? true for through
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-kost committed Feb 8, 2025
1 parent c3d0326 commit 6beff4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/data_layer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6beff4a

Please sign in to comment.