Skip to content

Unable to create shield resource for guard different than "web" #9

Open
@scramatte

Description

@scramatte

Hi,

I'm not able to create shield resource for guard different than "web"

Not sure if it's related to Spatie\Permission or to Nova\Shield

There is no permission named `faqs::viewAny` for guard `api`. {"userId":323,"exception":"[object] (Spatie\\Permission\\Exceptions\\PermissionDoesNotExist(code: 0): There is no permission named `faqs::viewAny` for guard `api`. (...PermissionDoesNotExist.php:11)

Can you take a look?

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions