fix: track and set permissions on talbes

This commit is contained in:
Naramsim 2024-02-13 12:38:58 +01:00
parent fd985e45e2
commit e4e2cd6e72
3 changed files with 28 additions and 0 deletions

View file

@ -11,3 +11,10 @@ object_relationships:
- name: pokemon_v2_pokemon
using:
foreign_key_constraint_on: pokemon_id
select_permissions:
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
allow_aggregations: true

View file

@ -0,0 +1,14 @@
table:
name: pokemon_v2_pokemoncries
schema: public
object_relationships:
- name: pokemon_v2_pokemon
using:
foreign_key_constraint_on: pokemon_id
select_permissions:
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
allow_aggregations: true

View file

@ -11,3 +11,10 @@ object_relationships:
- name: pokemon_v2_type
using:
foreign_key_constraint_on: damage_type_id
select_permissions:
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
allow_aggregations: true