{"repo":"avallbona/Impostor","free":true,"listed":false,"github":"https://github.com/avallbona/Impostor","clone":"git clone https://github.com/avallbona/Impostor.git","description":"Django app that enables staff to log in as other users using their own credentials.","language":"Python","stars":161,"topics":["impersonation","django","python"],"license":"MIT","category":"databases-storage","readme_excerpt":"Impostor Impostor is a Django application which allows staff members to login as a different user by using their own username and password. Login Logged as Impostor log Every such authentication is recorded in database and listed in admin interface to everyone with an access to ImpostorLog interface. However it is not possible to delete log entries through admin interface to make covering tracks more difficult. Impostor was tested with Django 1.11 and above. It might work with other versions too. It also depends on Django's authentication system and assumes you use its usernames for authentication. Impostor is a MMM project developed by Marko Samastur (markos@gaivo.net) and maintained by Andreu Vallbona (avallbona@gmail.com) licensed under MIT license. Installation Impostor won't work, if you are not using Django's auth system. It currently uses settings AUTH USER MODEL(default: django.contrib.auth.models.User ) USERNAME FIELD(default: username ) or username as authentication parameter along with password and user object default manager get by natural key function for returning user object from USERNAME FIELD. First install impostor app files as you would any other Django app Next some changes to your Django settings file are inorder. Add impostor.backend.AuthBackend To AUTHENTICATION BACKENDS : This will add impostor auth backend to other backends. AUTHENTICATION BACKENDS is a tuple listing backends and if you don't have it yet, then add following lines to your settings: Als","default_branch":null,"files":null,"tree":[],"storefront":"/r/avallbona","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/avallbona/Impostor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}