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

[Security] Remove deprecated code paths #50866

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 7.0
Bug fix? no
New feature? yes
Deprecations? no
Tickets -
License MIT
Doc PR -
  • Remove configuration options enable_authenticator_manager and csrf_token_generator
  • Remove {username} parameter, use {user_identifier} instead
  • A few other things that are not worth mentioning in the changelog IMHO

@carsonbot carsonbot added this to the 7.0 milestone Jul 4, 2023
@nicolas-grekas nicolas-grekas force-pushed the sec-deprec branch 2 times, most recently from 58e0b57 to 62756fb Compare July 4, 2023 07:55
nicolas-grekas added a commit that referenced this pull request Jul 4, 2023
…her cleanups (nicolas-grekas)

This PR was merged into the 6.4 branch.

Discussion
----------

[SecurityBundle] Deprecate `Security::*` consts and other cleanups

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

Required to make #50866 green without breaking compat with v7

Commits
-------

5cc0e1c [SecurityBundle] Deprecate `Security::*` consts and other cleanups
@nicolas-grekas nicolas-grekas merged commit b7122d8 into symfony:7.0 Jul 4, 2023
7 of 9 checks passed
@nicolas-grekas nicolas-grekas deleted the sec-deprec branch July 4, 2023 08:36
@fabpot fabpot mentioned this pull request Oct 21, 2023
tcitworld added a commit to tcitworld/symfony that referenced this pull request Jan 12, 2024
In SF 7.0, the deprecated {username} placeholder was removed in favor of {user_identifier} (in symfony#50866).
However, the default values for the filter and dn_string parameters still contained {username} instead of the updated key.

This PR changes the value to the new updated key

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
xabbuh added a commit that referenced this pull request Jan 13, 2024
…pgrade guide (W0rma)

This PR was merged into the 7.0 branch.

Discussion
----------

[SecurityBundle] Add missing removed config options to upgrade guide

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

Seems like some entries added in #50866 from got lost from the upgrade guide.

Commits
-------

8c63772 [SecurityBundle] Add missing removed config options to upgrade guide
fabpot added a commit that referenced this pull request Jan 18, 2024
…` in factories (tcitworld)

This PR was merged into the 7.0 branch.

Discussion
----------

[Ldap] Use `{user_identifier}` over deprecated `{username}` in factories

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

In SF 7.0, the deprecated `{username}` placeholder was removed in favor of `{user_identifier}` (in #50866). However, the default values for the `filter` and `dn_string` parameters still contained `{username}` instead of the updated key.

This PR changes the value to the new updated key

Commits
-------

30baf82 fix(ldap): replace {username} with {user_identifier} in LDAP factories
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.

None yet

2 participants