From f1f1c3f989777abd1fdacb9ef18de956a3f3e5de Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Fri, 13 May 2022 09:45:06 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 2 +- ...b112826f7d3d5b07027f93786ae11a1c7de48.json | 67 +++++++++++++++++++ index.json | 6 +- symfony.security-bundle.6.0.json | 67 +++++++++++++++++++ 4 files changed, 140 insertions(+), 2 deletions(-) create mode 100644 archived/symfony.security-bundle/8a5b112826f7d3d5b07027f93786ae11a1c7de48.json create mode 100644 symfony.security-bundle.6.0.json diff --git a/RECIPES.md b/RECIPES.md index 6441503c..6b807466 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -82,7 +82,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [symfony/requirements-checker](https://packagist.org/packages/symfony/requirements-checker) | [2.0](symfony/requirements-checker/2.0) | `req-check`, `req-checker`, `req-checks`, `reqcheck`, `reqchecker`, `reqchecks`, `requirement-check`, `requirement-checker`, `requirementcheck`, `requirementchecker`, `requirements-checker`, `requirementschecker` | | [symfony/rocket-chat-notifier](https://packagist.org/packages/symfony/rocket-chat-notifier) | [5.1](symfony/rocket-chat-notifier/5.1) | `rocket-chat-notifier`, `rocketchatnotifier` | | [symfony/routing](https://packagist.org/packages/symfony/routing) | [6.1](symfony/routing/6.1) | `router`, `routing` | -| [symfony/security-bundle](https://packagist.org/packages/symfony/security-bundle) | [5.3](symfony/security-bundle/5.3) | `security`, `security-bundle`, `securitybundle` | +| [symfony/security-bundle](https://packagist.org/packages/symfony/security-bundle) | [6.0](symfony/security-bundle/6.0) | `security`, `security-bundle`, `securitybundle` | | [symfony/sendberry-notifier](https://packagist.org/packages/symfony/sendberry-notifier) | [6.1](symfony/sendberry-notifier/6.1) | `sendberry-notifier`, `sendberrynotifier` | | [symfony/sendgrid-mailer](https://packagist.org/packages/symfony/sendgrid-mailer) | [4.4](symfony/sendgrid-mailer/4.4) | `sendgrid-mailer`, `sendgridmailer` | | [symfony/sendinblue-mailer](https://packagist.org/packages/symfony/sendinblue-mailer) | [5.2](symfony/sendinblue-mailer/5.2) | `sendinblue-mailer`, `sendinbluemailer` | diff --git a/archived/symfony.security-bundle/8a5b112826f7d3d5b07027f93786ae11a1c7de48.json b/archived/symfony.security-bundle/8a5b112826f7d3d5b07027f93786ae11a1c7de48.json new file mode 100644 index 00000000..0bdeb4d2 --- /dev/null +++ b/archived/symfony.security-bundle/8a5b112826f7d3d5b07027f93786ae11a1c7de48.json @@ -0,0 +1,67 @@ +{ + "manifests": { + "symfony/security-bundle": { + "manifest": { + "bundles": { + "Symfony\\Bundle\\SecurityBundle\\SecurityBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "conflict": { + "symfony/framework-bundle": "<5.3" + } + }, + "files": { + "config/packages/security.yaml": { + "contents": [ + "security:", + " # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords", + " password_hashers:", + " Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface: 'auto'", + " # https://symfony.com/doc/current/security.html#loading-the-user-the-user-provider", + " providers:", + " users_in_memory: { memory: null }", + " firewalls:", + " dev:", + " pattern: ^/(_(profiler|wdt)|css|images|js)/", + " security: false", + " main:", + " lazy: true", + " provider: users_in_memory", + "", + " # activate different ways to authenticate", + " # https://symfony.com/doc/current/security.html#the-firewall", + "", + " # https://symfony.com/doc/current/security/impersonating_user.html", + " # switch_user: true", + "", + " # Easy way to control access for large sections of your site", + " # Note: Only the *first* access control that matches will be used", + " access_control:", + " # - { path: ^/admin, roles: ROLE_ADMIN }", + " # - { path: ^/profile, roles: ROLE_USER }", + "", + "when@test:", + " security:", + " password_hashers:", + " # By default, password hashers are resource intensive and take time. This is", + " # important to generate secure password hashes. In tests however, secure hashes", + " # are not important, waste resources and increase test times. The following", + " # reduces the work factor to the lowest possible values.", + " Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface:", + " algorithm: auto", + " cost: 4 # Lowest possible value for bcrypt", + " time_cost: 3 # Lowest possible value for argon", + " memory_cost: 10 # Lowest possible value for argon", + "" + ], + "executable": false + } + }, + "ref": "8a5b112826f7d3d5b07027f93786ae11a1c7de48" + } + } +} diff --git a/index.json b/index.json index 4f7b9796..471f9c2d 100644 --- a/index.json +++ b/index.json @@ -665,7 +665,8 @@ "3.3", "4.4", "5.1", - "5.3" + "5.3", + "6.0" ], "symfony/sendberry-notifier": [ "6.1" @@ -844,6 +845,9 @@ "symfony/security-bundle": { "5.3": { "symfony/framework-bundle": "<5.3" + }, + "6.0": { + "symfony/framework-bundle": "<5.3" } }, "symfony/twig-bundle": { diff --git a/symfony.security-bundle.6.0.json b/symfony.security-bundle.6.0.json new file mode 100644 index 00000000..0bdeb4d2 --- /dev/null +++ b/symfony.security-bundle.6.0.json @@ -0,0 +1,67 @@ +{ + "manifests": { + "symfony/security-bundle": { + "manifest": { + "bundles": { + "Symfony\\Bundle\\SecurityBundle\\SecurityBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "conflict": { + "symfony/framework-bundle": "<5.3" + } + }, + "files": { + "config/packages/security.yaml": { + "contents": [ + "security:", + " # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords", + " password_hashers:", + " Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface: 'auto'", + " # https://symfony.com/doc/current/security.html#loading-the-user-the-user-provider", + " providers:", + " users_in_memory: { memory: null }", + " firewalls:", + " dev:", + " pattern: ^/(_(profiler|wdt)|css|images|js)/", + " security: false", + " main:", + " lazy: true", + " provider: users_in_memory", + "", + " # activate different ways to authenticate", + " # https://symfony.com/doc/current/security.html#the-firewall", + "", + " # https://symfony.com/doc/current/security/impersonating_user.html", + " # switch_user: true", + "", + " # Easy way to control access for large sections of your site", + " # Note: Only the *first* access control that matches will be used", + " access_control:", + " # - { path: ^/admin, roles: ROLE_ADMIN }", + " # - { path: ^/profile, roles: ROLE_USER }", + "", + "when@test:", + " security:", + " password_hashers:", + " # By default, password hashers are resource intensive and take time. This is", + " # important to generate secure password hashes. In tests however, secure hashes", + " # are not important, waste resources and increase test times. The following", + " # reduces the work factor to the lowest possible values.", + " Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface:", + " algorithm: auto", + " cost: 4 # Lowest possible value for bcrypt", + " time_cost: 3 # Lowest possible value for argon", + " memory_cost: 10 # Lowest possible value for argon", + "" + ], + "executable": false + } + }, + "ref": "8a5b112826f7d3d5b07027f93786ae11a1c7de48" + } + } +}