Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SecurityBundle] Deprecate enabling bundle and not configuring it #48043

Conversation

alamirault
Copy link
Contributor

@alamirault alamirault commented Oct 29, 2022

Q A
Branch? 6.3
Bug fix? no
New feature? yes
Deprecations? yes
Tickets Fix #47593
License MIT
Doc PR symfony/symfony-docs#...

In order to improve DX, add Trigger deprecation when SecurityBundle is enable without configuration.

@carsonbot
Copy link

Hey!

I think @TimoBakx has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@fabpot fabpot modified the milestones: 6.2, 6.3 Nov 1, 2022
@alamirault alamirault requested review from fabpot and removed request for wouterj and chalasr November 1, 2022 11:20
@alamirault alamirault requested review from chalasr and removed request for fabpot November 5, 2022 17:38
@fabpot fabpot force-pushed the feature/47593-no-security-configuration-trigger-deprecation branch from a08dcc6 to ff76d26 Compare November 26, 2022 09:24
@fabpot
Copy link
Member

fabpot commented Nov 26, 2022

Thank you @alamirault.

@fabpot fabpot merged commit c79d4ab into symfony:6.3 Nov 26, 2022
@alamirault alamirault deleted the feature/47593-no-security-configuration-trigger-deprecation branch November 26, 2022 13:51
@fabpot fabpot mentioned this pull request May 1, 2023
nicolas-grekas added a commit that referenced this pull request Jun 8, 2023
…figuring it is not allowed (alexandre-daubois)

This PR was merged into the 7.0 branch.

Discussion
----------

[SecurityBundle] Enabling `SecurityBundle` and not configuring it is not allowed

| Q             | A
| ------------- | ---
| Branch?       | 7.0
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Removes the code deprecated in #48043

Commits
-------

2388239 [SecurityBundle] Enabling `SecurityBundle` and not configuring it is not allowed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Security][DX] Deprecate/warn having the security bundle loaded, but not having any config
5 participants