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
razorOP3d ago
up
awcodes
awcodes3d ago
Make a policy. Filament will honor model policies.
razor
razorOP3d ago
but can they still make a new form through the getRelation() ??
Want results from more Discord servers?
Add your server