Apply row-level security to a model. Registers a dynamic scope selector that is applied to ALL queries on that model.
The model to protect
A function that returns query modifiers based on the current context
Apply row-level security to a model. Registers a dynamic scope selector that is applied to ALL queries on that model.