Skip to content

Commit

Permalink
Merge pull request #30 from etienne-monsieurbiz/feature/add-permissio…
Browse files Browse the repository at this point in the history
…n-route

Add permission on admin routes
  • Loading branch information
Kiwikoti authored Jul 30, 2024
2 parents 98f6f2d + 2ddbd01 commit f664d83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Resources/config/routing/admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ monsieurbiz_shipping_slot_admin_config:
resource: |
alias: monsieurbiz_shipping_slot.shipping_slot_config
section: admin
permission: true
templates: "@SyliusAdmin\\Crud"
except: ['show']
redirect: update
Expand All @@ -17,6 +18,7 @@ monsieurbiz_shipping_slot_admin_slot:
resource: |
alias: monsieurbiz_shipping_slot.slot
section: admin
permission: true
templates: "@SyliusAdmin\\Crud"
except: ['show']
redirect: update
Expand Down

0 comments on commit f664d83

Please sign in to comment.