rls

Mixin. Provide Row Level Security. Will override select method and add a SQL expression returned by function specified in rls.expression to where section for each select operation.

See tutorial Row level security for details.