FilamentF
Filament2y ago
adnn

Resource not showing up in Roles? Filament shield

I created a new resource, but it's not showing up in shield/roles as a resource?

I've ran php artisan shield:generate --all

and even did php artisan shield:install

and despite a policy existing and showing up in terminal, it's not visible on the filament page itself

| 7  | Taxonomy  | TaxonomyPolicy.php :white_check_mark:  | view_taxonomy,                 |
|    |           |                        | view_any_taxonomy,             |
|    |           |                        | create_taxonomy,               |
|    |           |                        | update_taxonomy,               |
|    |           |                        | restore_taxonomy,              |
|    |           |                        | restore_any_taxonomy,          |
|    |           |                        | replicate_taxonomy,            |
|    |           |                        | reorder_taxonomy,              |
|    |           |                        | delete_taxonomy,               |
|    |           |                        | delete_any_taxonomy,           |
|    |           |                        | force_delete_taxonomy,         |
|    |           |                        | force_delete_any_taxonomy :white_check_mark:


what could the cause of this be?
Was this page helpful?