Skip to content

How can I use multiple IsGranted attribute on a symfony controller ? #54696

Answered by stof
talha-core asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to keep a single controller, you indeed cannot use attribute-based access control checks if you need 2 different checks depending on the case where it is called.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@talha-core
Comment options

@stof
Comment options

Answer selected by talha-core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants