Skip to content

[Bug]: Integrate with filament-shield #112

@rdp77

Description

@rdp77

What happened?

I tried to integrate with filament-shield, but when I checked it turns out that this permission does not exist so when I try to access the api, the permission error User does not have the right permissions appears.

When I disable use-spatie-permission-middleware this works Is the integeration with filament-shield perfectly correct?

How to reproduce the bug

  1. Setup API
  2. shield:setup with fresh
  3. shield:install
  4. shield:generate --all

Package Version

3.4.6

PHP Version

8.3.22

Laravel Version

11.45.1

Which operating systems does with happen with?

Linux

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions