Category: | Bug report |
Priority: | Normal |
Status: | New |
Project: | Severity: | Minor |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
When the value of the <principalExpression> begins on a new line it seems to prevent the filter from being applied.
This doesn't seem to work:
<principalExpression>
authentication.getPrincipal().getRoles().any{ it.getRoleName() in ['ROLE_SUPERMART_MANAGER'] }
</principalExpression>
This works fine
<principalExpression>authentication.getPrincipal().getRoles().any{ it.getRoleName() in ['ROLE_SUPERMART_MANAGER'] }
</principalExpression>
v5.5.0
1 Comment: