Spatie Roles & Permissions: permission:sync -P for models in subdirectories

I'm using Spatie Roles & Permissions, and
php artisan permission:sync -P
php artisan permission:sync -P
doesn't create policies for models in subdirectories. A lot of my models (and resources etc) are in subdirectories to try and keep my folder structure clean. Any idea how I can get it to look in subdirectories or am I stuck making the policies manually?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server