Limit form edit using role but can make a new form through the getRelation()

I wanna ask how can I limit certain role for editing the forms, but i wanna make sure all roles can make a new form through the getRelation(), thank you guys
No description
3 Replies
razor
razorOP4w ago
up
awcodes
awcodes4w ago
Make a policy. Filament will honor model policies.
razor
razorOP4w ago
but can they still make a new form through the getRelation() ??
Want results from more Discord servers?
Add your server