Commit d713a4fd by Bach Dániel

fix issue #185 (AclUpdateView should take org id into consideration)

fixes #185
parent b2e6c849
......@@ -858,7 +858,7 @@ class GroupDetailView(CheckedDetailView):
if not name:
return
try:
entity = User.objects.get(username=name)
entity = search_user(name)
self.object.user_set.add(entity)
except User.DoesNotExist:
if saml_available:
......@@ -962,7 +962,7 @@ class AclUpdateView(LoginRequiredMixin, View, SingleObjectMixin):
if not name:
return
try:
entity = User.objects.get(username=name)
entity = search_user(name)
except User.DoesNotExist:
entity = None
try:
......
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 sign in to comment