Shield Permission Widget Issue
Hello,
I have an issue where Widgets under plain Filament/Widgets namespace are recognized into shield permissions.
But ones that are within resource example: Filament/UserResources/Widgets/** they are not recognized in shield permissions sysstem.
I am using trait HasWidgetShield on all of them.
Solution:Jump to solution
Fixed it as soon as I posted it here..
Issue was discovering of widgets, as soon as I added them into FilamentPanelProvider under ->widgets([]), they are working!...
4 Replies
I bet it's a config thing but maybe ask in #bezhansalleh-shield
Solution
Fixed it as soon as I posted it here..
Issue was discovering of widgets, as soon as I added them into FilamentPanelProvider under ->widgets([]), they are working!
Because auto descovery works only within Filament/Widgets..
I just wanted to ask, whether you already registered it 😅