bezhanSalleh / filament-shield

The easiest and most intuitive way to add access management to your Filament Admin Resources, Pages & Widgets through `spatie/laravel-permission`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generating all policies for a specific panel

benzwebdev opened this issue · comments

Good day!

Is there a way to generate all policies from a specific panel or specific resources from a specific panel?

I noticed in my installation that it prompts what panel should I use, so I selected the appropriate panel but it still generated the default one which is admin panel.

Thank you in advance!

i don't think there is away at the moment to support multi panels. but you can generate specific resource policies so look into the generate command it has some options.