F
Filament9mo ago
adnn

Multi tenant navigation panel?

Is it possible to have different navigation items based on the team selected? For example I want to have the "Administration" section, in a "Content" team, and everything else in "Admin". How do you properly approach this? For reference I am using this starter kit: https://github.com/LingMyat/Filament-Starter-Kit
GitHub
GitHub - LingMyat/Filament-Starter-Kit: Starter Kit with Multi-Tena...
Starter Kit with Multi-Tenant, Role, Permission, Exception - GitHub - LingMyat/Filament-Starter-Kit: Starter Kit with Multi-Tenant, Role, Permission, Exception
No description
5 Replies
toeknee
toeknee9mo ago
use the standard policies, you can then condition if tenant == 'admin' then true.
adnn
adnnOP9mo ago
Is there a documentation page or something you could point me to? Not sure what standard policies are, as I'm rather new to this stack
toeknee
toeknee9mo ago
It's basic laravel 101
toeknee
toeknee9mo ago
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
toeknee
toeknee9mo ago
Filament harnesses polices by default if they are implemented.
Want results from more Discord servers?
Add your server