fix: add can? for :aggregate

This commit is contained in:
Zach Daniel 2020-07-24 18:00:57 -04:00
parent 9417fd3a9e
commit 8526b48772
No known key found for this signature in database
GPG key ID: C377365383138D4B

View file

@ -80,6 +80,7 @@ defmodule AshPostgres.DataLayer do
def can?(_, :upsert), do: true
def can?(_, :join), do: true
def can?(_, :boolean_filter), do: true
def can?(_, :aggregate), do: true
def can?(_, :aggregate_filter), do: true
def can?(_, :aggregate_sort), do: true
def can?(_, {:filter_predicate, _, %In{}}), do: true