-
Notifications
You must be signed in to change notification settings - Fork 2
Labels
Description
Feature Request
Allow creating one rule with placeholder in order to avoid the need to specify multiple similar routes with the same permission.
Example:
'guards' => [
[
'type' => 'RoutePermission',
'options' => [
'rules' => [
'admin::admin-create-form' => ['authenticated'],
'admin::admin-create' => ['authenticated'],
'admin::admin-delete-form' => ['authenticated'],could be reduced to:
'guards' => [
[
'type' => 'RoutePermission',
'options' => [
'rules' => [
'admin::admin-*' => ['authenticated'],| Q | A |
|---|---|
| New Feature | yes |
| RFC | no |
| BC Break | no |
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done