~zyga/checkbox/better-qualifiers

Viewing all changes in revision 2753.

  • Committer: Zygmunt Krynicki
  • Date: 2014-03-05 14:43:23 UTC
  • Revision ID: zygmunt.krynicki@canonical.com-20140305144323-6hjgxyriydbkdwke
plainbox:secure:qualifiers: make WhiteList namespace aware

This patch adds implicit_namespace to WhiteList initializer, the
WhiteList.from_string() and the WhiteList.from_file() methods.

The initializer will now prepend the implicit namespace to all the
patterns that don't contain the double-colon namespace operator that
separates job namespace form job partial id

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: