25 Replies
Do you have permissions?
To viewAll or view
yes
clear cache? 😅
weird
just only show user relation
Yes. it's not working
When I'm creating ReportResource, it's shown up.
But I don't need ReportResource
Do you have a ReportPolicy?
Yes
Can you share?
I'm using shield. I think all policy are equal
If you temporarily remove your policy does that fix it?
that's give me no such file.
The policy is probably still autoloaded?
yes
I'm using shield
Yes, you said that 😅
I guess it's a permission issue.
Can you return
return true
from viewAny
and view
?Yes
How can I fix that?
Did that fix it?
It's working.
Yes. So you don't have the permissions to view reports as you told Tin.
Check your shield permissions
I think shield does not know my ReportRelationManager.
@bezho
I think there is some generate function that you need to run
something like that