Fix group filter for Grafana in LDAP tests

There was a small mistake in group filter for Grafana in LDAP tests,
that's why authorization with admin and viewer credentials failed.
This patch solves this issue.

Change-Id: If3fbc09af477b4a1c5a6205f48766cb30aad8250
This commit is contained in:
vgusev 2016-10-05 15:06:28 +03:00
parent 3830c0fdc3
commit 87c2a91f5a

View File

@ -212,7 +212,7 @@ class TestToolchainLDAP(api.ToolchainApi):
"ldap_group_search_base_dns/value": "ldap_group_search_base_dns/value":
"ou=groups,dc=stacklight,dc=ci", "ou=groups,dc=stacklight,dc=ci",
"ldap_group_search_filter/value": "ldap_group_search_filter/value":
"(&(objectClass=posixGroup)(memberUid=%s)", "(&(objectClass=posixGroup)(memberUid=%s))",
"ldap_admin_group_dn/value": "plugin_admins", "ldap_admin_group_dn/value": "plugin_admins",
"ldap_viewer_group_dn/value": "plugin_viewers" "ldap_viewer_group_dn/value": "plugin_viewers"
}) })