Hass
Hass
Explore posts from servers
FFilament
Created by Hass on 2/11/2024 in #❓┊help
HasMany relationship by only using where clause (for RelationManager)
No description
2 replies
FFilament
Created by Hass on 1/13/2024 in #❓┊help
User being able to see resource in the navigation even without permission
(I'm using bezhansalleh's shield plugin) I'm testing with two users: one (the super_admin one) has every permission, the other just a few of them. The second user does not have the viewAny permission neither the specific permission to see the resource. (If I run Policy->viewAny($second_user) it returns false) Even though the user does not have the permission to see the resource, it shows on the menu. One thing that I noted is that this behavior only happens with resources, individual pages are properly hidden from the user. I tested with two different resources and it happens to both of them. I'm kinda new to filament and laravel in general, so I may be missing something, but I followed the plugin's (shield) instructions and everything else is working fine (afaik) besides this. I'm not sure on what to share to help, but just ask me anything and I'll send asap edit: formating; typo
17 replies