can someone help guide me in setting up filament for specific users or groups?
I'm fairly sure this is something to do with multi-tenacy. But in my app, I have my backend Admin panel which is fine.
But I also want to use filament to handle things like user or group settings. Of course this would need to ensure that a user or group admin only has access to their data.
All the documents reference teams, which is not what I am looking for, though may be the same idea.
I am just a bit lost in how to approach this. If i have a user panel, I have a few tables that all relate to user settings, but the user table itself also has multiple columns that would be better if i could split them into several sections. I currently have it set up as tabs, for just the user table data. but can those tabs be made into sidebar links in the panel? If i have a pivot table, that also has its own fields, I'd like this to also be its own form in the user panel. So admin panel manages all things related to SITE if user = admin User panel -- manages all things related to logged in user Group panel-- manages all things related to group if user = group_admin or owner Groups and users will have view access to any logged in user I just need a little help figuring out how to set up this front end panel arrangement.
I am just a bit lost in how to approach this. If i have a user panel, I have a few tables that all relate to user settings, but the user table itself also has multiple columns that would be better if i could split them into several sections. I currently have it set up as tabs, for just the user table data. but can those tabs be made into sidebar links in the panel? If i have a pivot table, that also has its own fields, I'd like this to also be its own form in the user panel. So admin panel manages all things related to SITE if user = admin User panel -- manages all things related to logged in user Group panel-- manages all things related to group if user = group_admin or owner Groups and users will have view access to any logged in user I just need a little help figuring out how to set up this front end panel arrangement.
1 Reply
or if anyone knows of a good example where someone has done something similar, can you link it so i can see how it works. Filament is a bit confusing to me beyond the basics of adding forms and columns to a table
is it pages that i need to set up or what?
im trying to think this through, but hopefully someone can actually answer me and correct me if it is wrong.
From my understanding... For standard back end management, i create a admin panel where i attach one of many models.
Info lists are more view only -- or "show" pages?
Tables are the index, forms handle the edit and create?
Widgets are GUIs to analyze data?
And pages are one offs that can hold one of the above?
Can a panel only consist of defined pages? Can one resource form be split between multiple pages?
Can a "relationship manager" be its own link in a panel, where the index, and forms all tie back to the user of the panel?
Ie if a user_food table exist, and i logged in to my panel and wanted to list all the food i ate, how do I set this up?
All the documents seem geared toward pick a user, then pick a food within the user resource.