Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filamentβ€’9mo agoβ€’
6 replies
aksl

Laravel permissions

I'm looking for the best way to manage the super admin role.
Currently in my User resource I have this :
Select::make('roles')
                            ->relationship('roles', 'name')
                            ->multiple()
                            ->preload()
                            ->searchable()
Select::make('roles')
                            ->relationship('roles', 'name')
                            ->multiple()
                            ->preload()
                            ->searchable()


So a user who can modify roles can assign super_admin to everyone.
how would you make it so that only a super_admin sees the super_admin role?

Maybe you should disable it altogether?
thanks πŸ™‚
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

Laravel permissions / shield
FilamentFFilament / β“β”Šhelp
9mo ago
permissions
FilamentFFilament / β“β”Šhelp
3y ago
Laravel/boost
FilamentFFilament / β“β”Šhelp
3mo ago
Laravel migrate
FilamentFFilament / β“β”Šhelp
2y ago