F
Filament2mo ago
Liam

Authorization/Policy on an entire cluster

Hi everyone, I've built a Settings cluster containing various resources and custom setting pages. I've also set up a permission called "view_settings". My goal is to restrict access to this entire cluster for users who lack this permission. Is there a simple way to implement this restriction? I couldn’t find anything specific in the documentation.
Solution:
Well you can setup the policies for each cluster item as standard laravel and just ccheck for th epermissions view_settings on all.
Jump to solution
3 Replies
Solution
toeknee
toeknee2mo ago
Well you can setup the policies for each cluster item as standard laravel and just ccheck for th epermissions view_settings on all.
Liam
LiamOP2mo ago
Yes correct, worked! haha
toeknee
toeknee2mo ago
Fab!

Did you find this page helpful?