[
https://issues.apache.org/jira/browse/DISPATCH-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chuck Rolke resolved DISPATCH-1011.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
> Policy username substitution fails to match certain user names
> --------------------------------------------------------------
>
> Key: DISPATCH-1011
> URL: https://issues.apache.org/jira/browse/DISPATCH-1011
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Policy Engine
> Affects Versions: 1.0.1
> Reporter: Chuck Rolke
> Assignee: Chuck Rolke
> Priority: Major
> Fix For: 1.2.0
>
>
> If a username is a substring of a policy rule's static text then the username
> substitution fails. For example:
> {{ if (!_qd_policy_approve_link_name("em", "temp-${user}", "temp-em"))}}
> {{ return "proposed link 'temp-em' should match allowed links with
> ${user} but does not";}}
> Since the username *em* is found in the fixed text of *temp-* then the
> substitution logic goes awry and the match fails. Thanks to aconway for
> making this observation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]