bezhanSalleh / filament-exceptions

A Simple & Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel
MIT License
143 stars 22 forks source link

restrict `Exception` access to few roles only using `filament-shield` #21

Closed apaleja closed 1 year ago

apaleja commented 1 year ago

I am trying to restrict access to Exception page to certain roles only using filament-shield i.e. admin but all the users are able to see and access it. is there any specific steps I need to follow apply generated policy to restrict access ?

NoahNxT commented 1 year ago

Same issue here, any solution yet?

bezhanSalleh commented 1 year ago

filament exceptions doesn't come with a default policy so first generate the policy using shield and then enforce it. read on here Shield third-party-plugins