Commit f2976518 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

ligoauth: bugfix group removal code in shibboleth auth middleware

parent 0d0a68da
......@@ -96,7 +96,10 @@ class ShibbolethWebAuthMiddleware(PersistentRemoteUserMiddleware):
# Remove groups in database which are not in session, except for groups
# which are managed by admins, like EM advocates and executives
groups_to_remove = user.groups.filter(
# NOTE: The two above operations could be done much more nicely if
# the queryset operation difference() worked in MySQL
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment