-
Notifications
You must be signed in to change notification settings - Fork 2
Add support for user impersonation, via admin #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| @@ -0,0 +1,17 @@ | |||
| from django.contrib.auth import login | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file, I would personally call it for example su.py.
a08e9e7 to
4241885
Compare
Codecov Report
@@ Coverage Diff @@
## master #141 +/- ##
==========================================
+ Coverage 56.01% 61.03% +5.01%
==========================================
Files 87 110 +23
Lines 6218 6721 +503
==========================================
+ Hits 3483 4102 +619
+ Misses 2735 2619 -116
Continue to review full report at Codecov.
|
4241885 to
9cbf0aa
Compare
|
The 3rd party library doesn't quite do what we need it to do. |
This adds user impersonation with django-su. Unfortunately we need a feature that django-su doesn't have yet (different actions on impersonated login vs logout) so the code is stashed away here for the time being.