qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-1011) Policy username substitution fails to match certain user names
Date Fri, 01 Jun 2018 20:38:00 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16498534#comment-16498534
] 

ASF subversion and git services commented on DISPATCH-1011:
-----------------------------------------------------------

Commit 2ccb9e7e0095e92ef09540577c4bf1a5fb7c4622 in qpid-dispatch's branch refs/heads/master
from [~chug]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=2ccb9e7 ]

DISPATCH-1011: Describe user name substitution changes in doc


> 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
>
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message