Skip to content

Custom permissions guard cannot be specified #665

Description

@sabina1997

Description
I am using custom permissions for a role of api guard. The custom permissions should be created under api guard but there is no way of specifying it, it defaults to web when running shield:generate

To Reproduce
Steps to reproduce the behavior:

  1. Add a custom permission to filament_shield.custom_permissions array
  2. Run filament shield:generate --all
  3. See permission created on guard web

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions