Skip to content

Commit

Permalink
bug #795 [Maintenance][Composer] Code sniffer plugin turn off (lchrus…
Browse files Browse the repository at this point in the history
…ciel)

This PR was merged into the 1.12 branch.

Discussion
----------



Commits
-------

e13de0f [Maintenance][Composer] Code sniffer plugin turn off
c011a4e [Maintenance][Composer] PHPStan extension installer plugin turn on
64fffa8 [Maintenance][Composer] Symfony thanks plugin turn off
ca42780 [Admin] Allow admin password reset token endpoins for api and ui
ac90cf6 [Behat] Adjust base_url to allow to catch channels by hostname
  • Loading branch information
GSadee authored Jul 20, 2022
2 parents cda2eac + ac90cf6 commit ef28d8d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion behat.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ default:

Behat\MinkExtension:
files_path: "%paths.base%/vendor/sylius/sylius/src/Sylius/Behat/Resources/fixtures/"
base_url: "https://localhost:8080/"
base_url: "https://127.0.0.1:8080/"
default_session: symfony
javascript_session: chrome_headless
sessions:
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@
},
"sort-packages": true,
"allow-plugins": {
"symfony/flex": true
"symfony/flex": true,
"dealerdirect/phpcodesniffer-composer-installer": false,
"phpstan/extension-installer": true,
"symfony/thanks": false
}
},
"extra": {
Expand Down
2 changes: 2 additions & 0 deletions config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,11 @@ security:
- { path: "%sylius.security.shop_regex%/register", role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: "%sylius.security.shop_regex%/verify", role: IS_AUTHENTICATED_ANONYMOUSLY }

- { path: "%sylius.security.admin_regex%/forgotten-password", role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: "%sylius.security.admin_regex%", role: ROLE_ADMINISTRATION_ACCESS }
- { path: "%sylius.security.shop_regex%/account", role: ROLE_USER }

- { path: "%sylius.security.new_api_admin_route%/reset-password-requests", role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: "%sylius.security.new_api_admin_regex%/.*", role: ROLE_API_ACCESS }
- { path: "%sylius.security.new_api_admin_route%/authentication-token", role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: "%sylius.security.new_api_user_account_regex%/.*", role: ROLE_USER }
Expand Down

0 comments on commit ef28d8d

Please sign in to comment.