F
Filament3mo ago
razor

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
razorOP3mo ago
up
awcodes
awcodes3mo ago
Make a policy. Filament will honor model policies.
razor
razorOP3mo ago
but can they still make a new form through the getRelation() ??

Did you find this page helpful?