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

Updated "Checking for Roles inside a Voter" for 2.8#7524

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

Closed
javiereguiluz wants to merge2 commits intosymfony:2.8fromjaviereguiluz:fix_21701_1

Conversation

@javiereguiluz
Copy link
Member

As mentioned insymfony/symfony#21701 this issue was fixed in 3.1 ... so 2.8 still has this issue.

@javiereguiluz
Copy link
MemberAuthor

This one should be easy to review. We're just removing some contents that are not true for 2.8. Thanks!

The solution is to inject the ``service_container`` service and use it to get
the ``security.authorization_checker`` service and call to the ``isGranted()``
method. Another solution is to upgrade your Symfony version, because this issue
was fixed starting from Symfony 3.1.
Copy link
Contributor

Choose a reason for hiding this comment

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

The linked ticket is mentioning the debug access decision manager introduced in 3.1 but how could this fix the problem of circular dependency for voters requiring the manager? Are we sure this is fixed? Thanks!

Byte-Lab reacted with thumbs up emoji
Copy link
Contributor

Choose a reason for hiding this comment

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

If you remove this note, it should be good to merge.

@wouterj
Copy link
Member

This will be a tricky one to merge up, but I'll take care of that. Thanks!

wouterj added a commit that referenced this pull requestNov 12, 2017
…eguiluz)This PR was squashed before being merged into the 2.8 branch (closes#7524).Discussion----------Updated "Checking for Roles inside a Voter" for 2.8As mentioned insymfony/symfony#21701  this issue was fixed in 3.1 ... so 2.8 still has this issue.Commits-------ee724b5 Updated "Checking for Roles inside a Voter" for 2.8
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhxabbuh approved these changes

+1 more reviewer

@HeahDudeHeahDudeHeahDude left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

2.8

Development

Successfully merging this pull request may close these issues.

5 participants

@javiereguiluz@wouterj@xabbuh@HeahDude@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp