Commit 194066c9 authored by ozzeh's avatar ozzeh

More fixes

parent 62819530
...@@ -89,6 +89,7 @@ class TESTOAuth2Backend(ModelBackend): ...@@ -89,6 +89,7 @@ class TESTOAuth2Backend(ModelBackend):
# Adding carveout for Server Admin group # Adding carveout for Server Admin group
if g['name'] == "Server Admin": if g['name'] == "Server Admin":
user.is_staff = True user.is_staff = True
user.is_superuser = True
user.save() user.save()
......
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