Skip to content

Commit

Permalink
Upgrade to Sylius 1.0.0-beta3
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Jul 25, 2017
1 parent 0e59cf5 commit 8b28030
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/config/security.yml
Expand Up @@ -49,7 +49,7 @@ security:
security: false

api:
pattern: "%sylius.security.api_regex%"
pattern: "%sylius.security.api_regex%/.*"
fos_oauth: true
stateless: true
anonymous: true
Expand Down Expand Up @@ -126,5 +126,5 @@ security:
- { path: "%sylius.security.shop_regex%/verify", role: IS_AUTHENTICATED_ANONYMOUSLY }

- { path: "%sylius.security.admin_regex%", role: ROLE_ADMINISTRATION_ACCESS }
- { path: "%sylius.security.api_regex%", role: ROLE_API_ACCESS }
- { path: "%sylius.security.api_regex%/.*", role: ROLE_API_ACCESS }
- { path: "%sylius.security.shop_regex%/account", role: ROLE_USER }
5 changes: 5 additions & 0 deletions app/config/sylius_config.yml
Expand Up @@ -14,6 +14,11 @@ doctrine_migrations:
table_name: sylius_migrations
name: Sylius Migrations

# Temporary fix to disable aliasing @serializer service to JMS variant
# TODO: Remove when upgrading to JMS Serializer Bundle 2.0
jms_serializer:
enable_short_alias: false

fos_rest:
exception: ~
view:
Expand Down

0 comments on commit 8b28030

Please sign in to comment.