Authorize Resouces not via model policies
Hey,
I have a Model / Ressource that has two different Filament ressources. One, which is more complex and shows more stuff, intended for admins, and a simple one for other users.
viewAny
would affect both. So how can control access diferently?Solution:Jump to solution
Just found that
canAccess
is also available to ressources and not only Pages. That does the trick for me (:1 Reply
Solution
Just found that
canAccess
is also available to ressources and not only Pages. That does the trick for me (: