Resource policies / can
The filament base resource has the static
I don't get the point from the last row. When already having the
or what is the difference? In my current case, "my" line returns true, while
can method, which looks like:I don't get the point from the last row. When already having the
$policy and making sure, there is a method $action, why not justor what is the difference? In my current case, "my" line returns true, while
Gate::forUser($user)->check($action, $record ?? $model) returns false. Is it possible, that it ignores the used guard?