Skip to content

Remove restriction on extending property accessors and method resolvers#5

Open
JohnNiang wants to merge 1 commit into
halo-dev:mainfrom
JohnNiang:refactor/thymeleaf-evaluation-context
Open

Remove restriction on extending property accessors and method resolvers#5
JohnNiang wants to merge 1 commit into
halo-dev:mainfrom
JohnNiang:refactor/thymeleaf-evaluation-context

Conversation

@JohnNiang
Copy link
Copy Markdown
Member

Remove the variableAccessRestricted check in getMethodResolvers() and getPropertyAccessors() so that
custom property accessors and method resolvers can be added even when variable access restriction is enabled.

The variable access restriction is already enforced at the variable access level, so this change does not affect security.

…n variable access is restricted

Remove the restriction that prevented custom property accessors and
method resolvers from being used when variableAccessRestricted is true.
The variable access restriction is already enforced at the variable
access level, so there is no security impact.
@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot Bot commented May 17, 2026

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@f2c-ci-robot f2c-ci-robot Bot added the do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. label May 17, 2026
@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot Bot commented May 17, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Labels

do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant