From 12c80fbfab4659c7b2b69ced47aa473892ae385c Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 25 Sep 2015 15:29:53 +0200 Subject: [PATCH 2/4] agent/authentic2: do not distribute groupe names in the role attribute anymore --- hobo/agent/authentic2/management/commands/hobo_deploy.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hobo/agent/authentic2/management/commands/hobo_deploy.py b/hobo/agent/authentic2/management/commands/hobo_deploy.py index 6f93797..75267f2 100644 --- a/hobo/agent/authentic2/management/commands/hobo_deploy.py +++ b/hobo/agent/authentic2/management/commands/hobo_deploy.py @@ -101,12 +101,6 @@ class Command(hobo_deploy.Command): attribute.enabled = not (name in disabled_fields) attribute.save() - SAMLAttribute.objects.get_or_create(name='role', - name_format='basic', - attribute_name='django_user_group_names', - object_id=policy.id, - content_type=policy_type - ) # create or update Service Providers for service in hobo_environment['services']: if not service.get('saml-sp-metadata-url'): -- 2.1.4