question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create "Moderator" level User and corresponding permissions

See original GitHub issue

Currently on PyPI, we have two types of users:

  • regular users
  • administrators (for which User.is_superuser is true)
  • (There is also a field 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:

  • view all the existing /admin views (but read-only)
  • set upload limits
  • add classifiers
  • etc

The “Moderator” user should not be able to:

  • change emails (including verified or active status)
  • delete projects
  • nuke users

(cc @99)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
dicommented, Mar 25, 2020

Hey, we have moderators now! Closing this.

1reaction
dicommented, Jan 25, 2019

#5249 is merged, we can now set users as moderators.

@jamadden @yeraydiazdiaz Would you like to be moderators?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create "Moderator" level User and corresponding permissions
The User.is_staff field comes from when I was attempting to port Warehouse to Django, and I do believe it is entirely unused. One...
Read more >
Configuring user access control and permissions
Gateway users can connect to the Windows Admin Center gateway service to manage servers through that gateway, but they can't change access ...
Read more >
How do I set permissions for an account-level role...
To manage user permissions from the sidebar, Click the icon next to the name of a permission [1]. In the permission menu [2],...
Read more >
Manage user groups and permissions | Dynatrace Docs
Create group: Go to Identity management > Group management and select Add group. At least one permission per group must be selected. Edit...
Read more >
Managing User Roles and Permissions - ManageEngine
Go to Admin >>Customization >> Roles. · In the Roles GUI, click Add Role. A new GUI window will open up. · While...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found