F
Filament17mo ago
X7Ryan

[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
Hasnayeen17mo ago
yes, you're correct
neil.keena
neil.keena17mo ago
Yes, I ran into the same issue.
X7Ryan
X7RyanOP17mo ago
I thought so but wanted to make sure before submitting the PR, which I just did. Thanks.
Scott
Scott16mo ago
Same here! Do you have a likn to the PR?
X7Ryan
X7RyanOP16mo 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. 🤷‍♂️
Want results from more Discord servers?
Add your server