lukasinko
Global authorization on Laravel model level
I was probably wrong about this one. The posts are FilamentResources, so
posts.edit
livewire component is secured via the filament policy by default. So it was more about hiding button, which would lead to 403 anyway.4 replies
Global authorization on Laravel model level
Based on https://laraveldaily.com/post/filament-show-hide-visible-fields-roles-permissions, i've noticed that this documentation https://filamentphp.com/docs/3.x/actions/trigger-button#authorization shoud be probably rewritten to somehow show, that this is a potential security risk. That hiding isn't secure way. That it needs some complementatory auth check.
4 replies
Global authorization on Laravel model level
What motivated me to this question, is related issue https://github.com/filamentphp/filament/discussions/13845. Thanks for any input on this topic
4 replies