mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Update upgrade guide
This commit is contained in:
parent
3f75a171f3
commit
f20cb2dacb
1 changed files with 13 additions and 0 deletions
|
|
@ -1,3 +1,16 @@
|
|||
# UPGRADE FROM `v1.8.1` TO `v1.8.2`
|
||||
|
||||
1. Change configuration of new ApiBundle in your `config/packages/security.yaml` file:
|
||||
|
||||
```diff
|
||||
security:
|
||||
access_control:
|
||||
- - { path: "%sylius.security.new_api_route%/admin/authentication-token", role: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
+ - { path: "%sylius.security.new_api_admin_route%/authentication-token", role: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- - { path: "%sylius.security.new_api_route%/shop/authentication-token", role: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
+ - { path: "%sylius.security.new_api_shop_route%/authentication-token", role: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
```
|
||||
|
||||
# UPGRADE FROM `v1.8.0` TO `v1.8.1`
|
||||
|
||||
1. Change configuration of new ApiBundle in your `config/packages/security.yaml` file:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue