0001-do-not-remove-superuser-flags-at-saml-login.patch
hobo/multitenant/mellon.py | ||
---|---|---|
35 | 35 |
def provision_groups(self, user, idp, saml_attributes): |
36 | 36 |
role_uuids = saml_attributes.get('role-slug', []) |
37 | 37 |
utils.provision_user_groups(user, role_uuids) |
38 | ||
39 |
def remove_superuser(self, user): |
|
40 |
pass |
hobo/utils.py | ||
---|---|---|
9 | 9 |
except Authentic.DoesNotExist: |
10 | 10 |
return [] |
11 | 11 |
return [{'METADATA_URL': self_idp.get_saml_idp_metadata_url()}] |
12 | ||
13 |
def remove_superuser(self, user): |
|
14 |
pass |
|
12 |
- |