DragonPomelo / trino-opa-example

Apache License 2.0
14 stars 2 forks source link

Add in `abac_am` return for all tables in schema #57

Closed shohamyamin closed 9 months ago

shohamyamin commented 9 months ago

For the understanding if there is a table that a user has access to. we need to run over all the tables until we found at least one table that the user has access to at least on of its columns.

For that we need to implement a abac_am function that get schema and return all documents for that schema