-
Notifications
You must be signed in to change notification settings - Fork 966
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
Create "Moderator" level User and corresponding permissions #4011
Comments
The One thing that might also be useful (although could come at a later time too!) is the ability to do things like request a delete of a project (or a nuke of a user etc), and then have the admins be able to deny or approve that request. That allows them to structurally make recommendations to the admins, and the admins to still have the final say. It also allows us to provide a path towards moderators becoming admins (if they desire) since we can easily look and go "hey, every time this person makes a recommendation we end up following up, maybe we just want to promote them". |
Agreed. I think the steps to address this, roughly broken up by PRs, would be:
|
Yea, that seems like a great path forward. |
I am going to start working on this. I have the first part complete (add new field and migration as well as adding is_moderator as settable in admin UIs) https://github.com/pypa/warehouse/pull/5249/files |
@di @dstufft I am moving on to Do you have a starting list of activities you would like to allow moderators to do? For instance, should moderators be able to mark other users as having a verified email? |
@crwilcox See the issue body:
|
#5249 is merged, we can now set users as moderators. @jamadden @yeraydiazdiaz Would you like to be moderators? |
That’s a yes for me, thanks |
@theacodes volunteered if you want additional moderators. |
I volunteer too, if you need more eyes and hands on deck. :) |
Yes, please. And thank you. |
@ewdurbin I got your Slack invite, thank you. Would it be possible to switch it to the alternate address for my PyPI account? |
absolutely. will do. |
Hey, we have moderators now! Closing this. |
Currently on PyPI, we have two types of users:
User.is_superuser
is true)User.is_staff
but I believe it's unused).It'd be great to add an intermediate level of user, "Moderator", which has the ability to do the following:
/admin
views (but read-only)The "Moderator" user should not be able to:
(cc @99)
The text was updated successfully, but these errors were encountered: