Skip to content

Replace is_staff with is_superuser #4

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

2 participants

@vad
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
Owner
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
vad commented Mar 2, 2012

thanks!

@samastur
Owner
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 Mar 4, 2012
@vad
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
Something went wrong with that request. Please try again.