F
Filament21h ago
Chimpy

Authorization: view policy and ViewAny policy wont work separated

Hey Folks, Im working a Filament app. But while i'm developing my app. I noticed that the viewAny and View policy are 'connected' to each other. when ViewAny = false and View = true i cant view a specific resource item. Can someone explain me that in a simple and understandable way. The docs arent clear enough for me to understand this behaviour of my policy. PS. it seems only to occur only on the ViewAny and View policy
1 Reply
Nox™
Nox™11h ago
You are right, they are independent. Think as viewAny as you being able to view the table listing all the records and view as viewing only 1 record isolated from the others.

Did you find this page helpful?