Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1011

Policy username substitution fails to match certain user names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 1.2.0
    • Policy Engine
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              chug Charles E. Rolke
              chug Charles E. Rolke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: