F
Filament10mo ago
Liam

Filament::getTenant()

Does this also check if user has access or do you have to manually check?
2 Replies
Liam
LiamOP6mo ago
I want to bump this post; I see a lot of people that use
Filament::getTenant()
Filament::getTenant()
through their app, but I can't seem to find the check if the user actually still has access through the request; For example, when they have access to someone else's tenant id, can they manipulate the request?
krekas
krekas6mo ago
getTenant only gives the tenants model I would guess getUserTenants() and providing the user model should give tenants that user has access to
Want results from more Discord servers?
Add your server