acts_as_tenant icon indicating copy to clipboard operation
acts_as_tenant copied to clipboard

Pass ar_relation to `should_require_tenant?` for improved control

Open ikraamg opened this issue 1 year ago • 1 comments

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.

ikraamg avatar Jan 16 '25 13:01 ikraamg

Hey @excid3, lovely to be in contact!

Could you please take a peek at this when you have some time 🙏

ikraamg avatar Jan 24 '25 15:01 ikraamg