hipsterjazzbo / Landlord

A simple, single database multi-tenancy solution for Laravel 5.2+
MIT License
615 stars 138 forks source link

Support for complex tenacy rules #76

Open jaaksarv opened 6 years ago

jaaksarv commented 6 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.

darrencoutts118 commented 6 years ago

+1