© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
Kleis

User administration for tenants

I would like to have a page where the tenants can manage their members, ie. change role/profile information and invite new members.

If I simply make a resource for the Organization model (which is my tenant model) and make a relationshipManager on that, then I can access the organization and modify the user and pivot attribute.

But I want the tenants to be able to do that also, but obviously only for their current tenant...

Any ideas how to do this the best way?
Solution
Overwrite the
getEloquentQuery()
getEloquentQuery()
method on the Resource and add a
->where()
->where()
clause when the user is a tenant
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Limit amount of Tenants per User
FilamentFFilament / ❓┊help
13mo ago
show all permissions for all tenants
FilamentFFilament / ❓┊help
3y ago
All Tenants option
FilamentFFilament / ❓┊help
14mo ago
Dynamic Modification of the Administration Panel Based on User Settings
FilamentFFilament / ❓┊help
2y ago