acts_as_tenant
acts_as_tenant copied to clipboard
Pass ar_relation to `should_require_tenant?` for improved control
Enhance the should_require_tenant? method to accept a context parameter, allowing for more granular control over tenant requirements.
This change maintains backward compatibility while enabling the evaluation of conditions based on the provided ar_relation object.
Hey @excid3, lovely to be in contact!
Could you please take a peek at this when you have some time 🙏