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.
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
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!
Issue was discovering of widgets, as soon as I added them into FilamentPanelProvider under ->widgets([]), they are working!