Skip to content

Quick review of the Security book chapter #5090

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

Merged
merged 1 commit into from
Mar 25, 2015

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Mar 18, 2015

Just did a quick review of the Security book chapter. I wanted to make it use best practices, but found out that @weaverryan already did a great job at it :)

Q A
Doc fix? yes
New docs? no
Applies to all
Fixed tickets -

@@ -869,7 +871,8 @@ Checking to see if a User is Logged In (IS_AUTHENTICATED_FULLY)

So far, you've checked access based on roles - those strings that start with
``ROLE_`` and are assigned to users. But if you *only* want to check if a
user is logged in (you don't care about roles), then you can see ``IS_AUTHENTICATED_FULLY``::
user is logged in (you don't care about roles), then you can see
Copy link
Member

Choose a reason for hiding this comment

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

Instead of you can see IS_AUTHENTICATED_FULLY:: I think it should be you can use IS_AUTHENTICATED_FULLY::

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, how did "see" slip in here.. :)

@wouterj wouterj force-pushed the best_practices_security branch from 6fc64c0 to 65ba36d Compare March 25, 2015 10:05
@wouterj
Copy link
Member Author

wouterj commented Mar 25, 2015

Thank you guys! I've fixed the PR

@weaverryan
Copy link
Member

Yea, thanks Wouter!

@weaverryan weaverryan merged commit 65ba36d into symfony:2.3 Mar 25, 2015
weaverryan added a commit that referenced this pull request Mar 25, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Quick review of the Security book chapter

Just did a quick review of the Security book chapter. I wanted to make it use best practices, but found out that @weaverryan already did a great job at it :)

| Q | A
| --- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | all
| Fixed tickets | -

Commits
-------

65ba36d Quick review of the Security book chapter
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.

4 participants