Skip to content
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

Replace is_staff with is_superuser #4

Closed
vad opened this issue Mar 2, 2012 · 4 comments
Closed

Replace is_staff with is_superuser #4

vad opened this issue Mar 2, 2012 · 4 comments

Comments

@vad
Copy link

vad commented Mar 2, 2012

With Impostor i'm able to login as another user, as a superuser too, right? Thus there's no reason to let it available to the staff instead of the restricted superusers "group".

On the other hand, i need to give access to the admin site to translators and content managers, but i don't want to give them super powers :)

@samastur
Copy link
Collaborator

samastur commented Mar 2, 2012

Excellent point. I'm kind of swamped right now, but I will try to get this done over this weekend.

@vad
Copy link
Author

vad commented Mar 2, 2012

thanks!

@samastur
Copy link
Collaborator

samastur commented Mar 4, 2012

Done. I also added support for IMPOSTOR_GROUP. Users added to that group can impersonate other users who are not superusers.

This should be used cautiously since it still allows impersonating somebody with different permissions.

@samastur samastur closed this as completed Mar 4, 2012
@vad
Copy link
Author

vad commented Mar 4, 2012

well done! :) thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants