From 14570830f5688c280c24d8d99f323dc33943c924 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 25 Sep 2015 15:30:34 +0200 Subject: [PATCH 3/4] agent/authentic2: pass all role's slugs of the same ou as the service in role-slug attribute --- hobo/agent/authentic2/management/commands/hobo_deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hobo/agent/authentic2/management/commands/hobo_deploy.py b/hobo/agent/authentic2/management/commands/hobo_deploy.py index 75267f2..a8ba1d2 100644 --- a/hobo/agent/authentic2/management/commands/hobo_deploy.py +++ b/hobo/agent/authentic2/management/commands/hobo_deploy.py @@ -160,6 +160,6 @@ class Command(hobo_deploy.Command): SAMLAttribute.objects.get_or_create( name='role-slug', name_format='basic', - attribute_name='role-slug', + attribute_name='a2_service_ou_role_slugs', object_id=provider.pk, content_type=provider_type) -- 2.1.4