Closed paul-crashley closed 7 years ago
Sorry, this is not something I want to include in Landlord. This package is specifically designed to be rock-solid on acting as a tenant whitelist, and protecting devs from tenancy leaks. This PR is too dangerous with that goal in mind. Thanks though!
Adds the ability to include records with a null tenant ID field in queries.
For example if there is a list of base system categories that can be added to by the users(s) of an individual tenant for their sole use.
Re-sets the global scope queries to add 'OR WHERE tenant_field_id IS NULL'