# HG changeset patch # User Max Roman # Date 2014-09-13 20:46:09 # Node ID f3fa50c8978381a404c5c8cf9bcd16cfdb30d7be # Parent 155f281be5f8013c68be2dbdfe2f8a0a424da383 Fix Admin Group Membership when using the Atlassian Crowd plugin . diff --git a/kallithea/lib/auth_modules/auth_crowd.py b/kallithea/lib/auth_modules/auth_crowd.py --- a/kallithea/lib/auth_modules/auth_crowd.py +++ b/kallithea/lib/auth_modules/auth_crowd.py @@ -236,7 +236,7 @@ class KallitheaAuthPlugin(auth_modules.K } # set an admin if we're in admin_groups of crowd - for group in settings["admin_groups"]: + for group in settings["admin_groups"].split(","): if group in user_attrs["groups"]: user_attrs["admin"] = True log.debug("Final crowd user object: \n%s" % (formatted_json(user_attrs)))