SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

Auth: Store module defined RLS queries in system table

Open joshua-spacetime opened this issue 1 year ago • 1 comments

This ticket includes (1) creating a system table for RLS queries, and (2) updating the drivers of __describe_module__ (database init and update) to insert RLS queries into this system table.

Note, the module should fail to compile if the queries fail to compile.

joshua-spacetime avatar Aug 16 '24 20:08 joshua-spacetime

The pr for this ticket doesn't check the validity of the query, only adds the table. It will done for #1602

mamcx avatar Sep 26 '24 16:09 mamcx