Open jaaksarv opened 7 years ago
It would be nice to have support to more complex multi-tenancy rules. Most of my models work nicely with tenant_id, but one table has additional is_public flag. So record can be accessed by user.id==record.tenant_id OR record.is_public==TRUE.
+1
It would be nice to have support to more complex multi-tenancy rules. Most of my models work nicely with tenant_id, but one table has additional is_public flag. So record can be accessed by user.id==record.tenant_id OR record.is_public==TRUE.