From 00a053288cb67471c25d76174792a107181d986c Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Tue, 4 Nov 2025 11:11:20 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 2 +- ...f4c67698bc0f5f78b17d34eb11e88772f9395.json | 75 +++++++++++++++++++ index.json | 6 +- symfony.security-bundle.7.4.json | 75 +++++++++++++++++++ 4 files changed, 156 insertions(+), 2 deletions(-) create mode 100644 archived/symfony.security-bundle/2a0f4c67698bc0f5f78b17d34eb11e88772f9395.json create mode 100644 symfony.security-bundle.7.4.json diff --git a/RECIPES.md b/RECIPES.md index 66913891..efae4ca4 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -130,7 +130,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [symfony/routing](https://packagist.org/packages/symfony/routing) | [7.4](symfony/routing/7.4) | `router`, `routing` | | [symfony/scaleway-mailer](https://packagist.org/packages/symfony/scaleway-mailer) | [6.4](symfony/scaleway-mailer/6.4) | `scaleway-mailer`, `scalewaymailer` | | [symfony/scheduler](https://packagist.org/packages/symfony/scheduler) | [7.2](symfony/scheduler/7.2) | `schedule`, `scheduler`, `scheduling` | -| [symfony/security-bundle](https://packagist.org/packages/symfony/security-bundle) | [6.4](symfony/security-bundle/6.4) | `security`, `security-bundle`, `securitybundle` | +| [symfony/security-bundle](https://packagist.org/packages/symfony/security-bundle) | [7.4](symfony/security-bundle/7.4) | `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/2a0f4c67698bc0f5f78b17d34eb11e88772f9395.json b/archived/symfony.security-bundle/2a0f4c67698bc0f5f78b17d34eb11e88772f9395.json new file mode 100644 index 00000000..f6ae9a38 --- /dev/null +++ b/archived/symfony.security-bundle/2a0f4c67698bc0f5f78b17d34eb11e88772f9395.json @@ -0,0 +1,75 @@ +{ + "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 }", + "", + " dev:", + " # Ensure dev tools and static assets are always allowed", + " pattern: ^/(_profiler|_wdt|assets|build)/", + " 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", + "", + " # Note: Only the *first* matching rule is applied", + " access_control:", + " # - { path: ^/admin, roles: ROLE_ADMIN }", + " # - { path: ^/profile, roles: ROLE_USER }", + "", + "when@test:", + " security:", + " password_hashers:", + " # Password hashers are resource-intensive by design to ensure security.", + " # In tests, it's safe to reduce their cost to improve performance. ", + " 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 + }, + "config/routes/security.yaml": { + "contents": [ + "_security_logout:", + " resource: security.route_loader.logout", + " type: service", + "" + ], + "executable": false + } + }, + "ref": "2a0f4c67698bc0f5f78b17d34eb11e88772f9395" + } + } +} diff --git a/index.json b/index.json index 61e11a9e..1794331a 100644 --- a/index.json +++ b/index.json @@ -1013,7 +1013,8 @@ "5.1", "5.3", "6.0", - "6.4" + "6.4", + "7.4" ], "symfony/sendberry-notifier": [ "6.1" @@ -1392,6 +1393,9 @@ }, "6.4": { "symfony/framework-bundle": "<5.3" + }, + "7.4": { + "symfony/framework-bundle": "<5.3" } }, "symfony/stimulus-bundle": { diff --git a/symfony.security-bundle.7.4.json b/symfony.security-bundle.7.4.json new file mode 100644 index 00000000..f6ae9a38 --- /dev/null +++ b/symfony.security-bundle.7.4.json @@ -0,0 +1,75 @@ +{ + "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 }", + "", + " dev:", + " # Ensure dev tools and static assets are always allowed", + " pattern: ^/(_profiler|_wdt|assets|build)/", + " 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", + "", + " # Note: Only the *first* matching rule is applied", + " access_control:", + " # - { path: ^/admin, roles: ROLE_ADMIN }", + " # - { path: ^/profile, roles: ROLE_USER }", + "", + "when@test:", + " security:", + " password_hashers:", + " # Password hashers are resource-intensive by design to ensure security.", + " # In tests, it's safe to reduce their cost to improve performance. ", + " 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 + }, + "config/routes/security.yaml": { + "contents": [ + "_security_logout:", + " resource: security.route_loader.logout", + " type: service", + "" + ], + "executable": false + } + }, + "ref": "2a0f4c67698bc0f5f78b17d34eb11e88772f9395" + } + } +}