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

Don't always make every htauth user a superuser #2

Open
ejucovy opened this issue Jun 15, 2012 · 0 comments
Open

Don't always make every htauth user a superuser #2

ejucovy opened this issue Jun 15, 2012 · 0 comments

Comments

@ejucovy
Copy link
Member

ejucovy commented Jun 15, 2012

Right now when a user logs in through the htauth backend, she's marked as both staff and superuser.

Instead (particularly after implementing htgroup support, #1) the user should not be marked as a superuser -- except, perhaps, if the user is in some specially-flagged htgroup entry that denotes superuser status.

I think the user should still be marked as staff though. Or possibly this behavior should be a configurable settings, HTAUTH_USERS_ARE_STAFF = True.

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

1 participant