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

Show which roles can access to each route #17

Closed
javiereguiluz opened this issue Feb 6, 2017 · 1 comment
Closed

Show which roles can access to each route #17

javiereguiluz opened this issue Feb 6, 2017 · 1 comment

Comments

@javiereguiluz
Copy link
Contributor

I don't know if this is possible, but in the Symfony Slack, a person asked for this feature. He also give me this reference: https://github.com/jdecoster/RoutingExtraBundle

I guess it's doable for access_control configuration ... but for roles defined in expressions inside @Security or for highly dynamic security features (voters, checks inside the controller methods, etc.) it would be "impossible".

@linaori
Copy link
Contributor

linaori commented Feb 6, 2017

What you can show, is a detailed set of rules per route. You can aggregate the values of the annotation and access control to do so. This is as close to what the request seems to be as possible in my eyes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants