Skip to content

Update parameter security documentation to reflect that it throws AccessDeniedException - #2320

Open
leightonthomas wants to merge 1 commit into
api-platform:4.3from
leightonthomas:fix/filter-parameter-security-403
Open

Update parameter security documentation to reflect that it throws AccessDeniedException#2320
leightonthomas wants to merge 1 commit into
api-platform:4.3from
leightonthomas:fix/filter-parameter-security-403

Conversation

@leightonthomas

Copy link
Copy Markdown

In practice the security expression seems to 403 when returning false due to the logic in ApiPlatform\State\Provider\SecurityParameterProvider, rather than ignoring the parameter as currently stated in the docs

In practice it seems to 403 due to the logic in `ApiPlatform\State\Provider\SecurityParameterProvider`
@leightonthomas leightonthomas changed the title Update parameter security documentation to reflect Update parameter security documentation to reflect that it throws a 403 Aug 27, 2026
@leightonthomas leightonthomas changed the title Update parameter security documentation to reflect that it throws a 403 Update parameter security documentation to reflect that it throws AccessDeniedException Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant