aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--license_protected_downloads/group_auth_ldap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/license_protected_downloads/group_auth_ldap.py b/license_protected_downloads/group_auth_ldap.py
index ad485b8..577a9cc 100644
--- a/license_protected_downloads/group_auth_ldap.py
+++ b/license_protected_downloads/group_auth_ldap.py
@@ -22,6 +22,8 @@ def process_group_auth(request, required_groups):
ldap_groups = linaro_ldap.get_groups_and_users()
for group in required_groups:
+ if group == 'linaro':
+ group = 'everyone-flat'
# skip non-existent groups
if group not in ldap_groups:
log.warn("Requested membership in non-existent group: %s" % group)