Skip to content

[!!!][TASK] Refactor expression evaluation in access checkers - #163

Merged
kszymukowicz merged 1 commit into
release/5.0.0from
refactor_expression_evaluation
Oct 3, 2026
Merged

kszymukowicz merged 1 commit into
release/5.0.0from
refactor_expression_evaluation

Conversation

@kszymukowicz

Copy link
Copy Markdown
Collaborator

Build the expression language resolver once per checker without variables and pass the variables of each check to evaluate(), like ResponseCacheService already does.

Add functional tests covering the expressions documented on the Security documentation page.

Breaking: protected AbstractAccessChecker::getExpressionLanguageResolver() is removed, use evaluateExpression() instead.

Build the expression language resolver once per checker without variables and pass the variables of each check to evaluate(), like ResponseCacheService already does.

Add functional tests covering the expressions documented on the Security documentation page.

Breaking: protected AbstractAccessChecker::getExpressionLanguageResolver() is removed, use evaluateExpression() instead.
@kszymukowicz
kszymukowicz merged commit 77e4c0e into release/5.0.0 Oct 3, 2026
25 checks passed
@kszymukowicz
kszymukowicz deleted the refactor_expression_evaluation branch October 3, 2026 18:04
@kszymukowicz kszymukowicz self-assigned this Oct 5, 2026
@kszymukowicz kszymukowicz added the breaking This introduces a breaking change label Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking This introduces a breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant