[V3] Multitenancy - HasTenants Contract canAccessTenant() method

I am implementing Multitenancy in a new V3 app. The docs make no mention of the canAccessTenant() method but it is part of the HasTenants Contract with Tenant parameter and a bool return. I assume that is supposed to return whether or not the current user instance belongs to the tenant identified in the parameter? Seems like a reasonable assumption, but I just want to see if someone who knows for sure can confirm this before I submit a PR for the docs on this.
5 Replies
Hasnayeen
Hasnayeen2y ago
yes, you're correct
neil.keena
neil.keena2y ago
Yes, I ran into the same issue.
X7Ryan
X7RyanOP2y ago
I thought so but wanted to make sure before submitting the PR, which I just did. Thanks.
Scott
Scott2y ago
Same here! Do you have a likn to the PR?
X7Ryan
X7RyanOP2y ago
Idk I just went to check looks like it was closed without merging not sure why I'd have to see if they left a comment but kinda busy atm. 🤷‍♂️

Did you find this page helpful?