Changeset - f3fa50c89783
[Not reviewed]
default
0 1 0
Max Roman - 11 years ago 2014-09-13 20:46:09
max@choloclos.se
Fix Admin Group Membership when using the Atlassian Crowd plugin .
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/auth_modules/auth_crowd.py
Show inline comments
 
@@ -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)))
0 comments (0 inline, 0 general)