Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[2.1][Security] Fixed typo + some enhancement#2349

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 4 commits intosymfony:2.1fromlyrixx:patch-ref-sercu
Mar 30, 2013

Conversation

lyrixx
Copy link
Member

No description provided.

@lyrixx
Copy link
MemberAuthor

The 3rd commit ([Security] Fix typo in chain provider entity) is the most important.

entity:
name: entity
class: SecurityBundle:User
property: username
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This is wrong. In the previous example, the first level ofentity key is the name of the provider while the second level is the config for theEntityUserProvider.
The config you added here would throw an exception.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I did not test, sorry. But I Copy/paste the same config as bellow. I should fix the in memory user provider ? (IIRC)

@lyrixx
Copy link
MemberAuthor

About the keyname :
I did not test, sorry. But I Copy/paste the same config as bellow. I should fix the in memory user provider ? (IIRC)

property: username
class: SecurityBundle:User
property: username
# same as
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This section MUST be removed. Telling that the previous code is the same than this invalid config is totally wrong. Please don't introduce wrong documentation when your PR says "fixed typos"

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Removed. What about memory user provider ?

weaverryan added a commit that referenced this pull requestMar 30, 2013
[2.1][Security] Fixed typo + some enhancement
@weaverryanweaverryan merged commitbc9febe intosymfony:2.1Mar 30, 2013
@weaverryan
Copy link
Member

Hey Grégoire!

This is awesome - much more descriptive and accurate. This is actually generated originally fromconfig:dump-reference where it looks like the example for the in-memory providers is just totally wrong:

https://github.com/symfony/symfony/blob/2.1/src/Symfony/Bundle/SecurityBundle/DependencyInjection/MainConfiguration.php#L303

We should fix that as well.

Thanks!

@lyrixx
Copy link
MemberAuthor

Ok. I will submit a PR.

@lyrixxlyrixx deleted the patch-ref-sercu branchMarch 30, 2013 21:57
@lyrixx
Copy link
MemberAuthor

Done insymfony/symfony#7528

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@lyrixx@weaverryan@stof

[8]ページ先頭

©2009-2025 Movatter.jp