0002-agent-authentic2-do-not-distribute-groupe-names-in-t.patch
hobo/agent/authentic2/management/commands/hobo_deploy.py | ||
---|---|---|
101 | 101 |
attribute.enabled = not (name in disabled_fields) |
102 | 102 |
attribute.save() |
103 | 103 | |
104 |
SAMLAttribute.objects.get_or_create(name='role', |
|
105 |
name_format='basic', |
|
106 |
attribute_name='django_user_group_names', |
|
107 |
object_id=policy.id, |
|
108 |
content_type=policy_type |
|
109 |
) |
|
110 | 104 |
# create or update Service Providers |
111 | 105 |
for service in hobo_environment['services']: |
112 | 106 |
if not service.get('saml-sp-metadata-url'): |
113 |
- |