Skip to content

[Security] Add argument $exceptionCode to #[IsGranted] #18101

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 21, 2023

Conversation

alexandre-daubois
Copy link
Member

Fixes #18097

@WebMamba
Copy link
Contributor

WebMamba commented Mar 20, 2023

I think we should also add something about the statusCode argument. I am not sure we have something about it

@alexandre-daubois
Copy link
Member Author

alexandre-daubois commented Mar 20, 2023

@WebMamba Good idea! This must be done in 6.2. Here you are 🙂 ! #18103

@OskarStark
Copy link
Contributor

#18103 should be merged first

OskarStark added a commit that referenced this pull request Mar 21, 2023
…#[IsGranted]` (alexandre-daubois)

This PR was squashed before being merged into the 6.2 branch.

Discussion
----------

[Security] Add `statusCode` and `message` arguments to `#[IsGranted]`

Following #18101 (comment)

Commits
-------

149d33b [Security] Add `statusCode` and `message` arguments to `#[IsGranted]`
@OskarStark
Copy link
Contributor

Rebase unlocked ✅

@alexandre-daubois
Copy link
Member Author

Rebased and updated 🙏

@javiereguiluz
Copy link
Member

Thanks Alex for contributing this in two different PR and for rebasing and updating as needed 🙏

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.

5 participants