© 2026 Hedgehog Software, LLC

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

Auto assign role

I think im blind but:

I want when a user registeres, in the controller or where ever it gets handled, it automatically adds a default role to the registering user.
Is there a file where the register gets handled, or should i do it in the User model in a static::creating?
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

Assign role after registration
FilamentFFilament / ❓┊help
2y ago
Assign Role on Import Action
FilamentFFilament / ❓┊help
13mo ago
CreateOptionForm auto assign after create
FilamentFFilament / ❓┊help
3y ago
can't assign role to customer
FilamentFFilament / ❓┊help
2y ago