The admin/superuser is not able to remove a collection owned by a regular user
See original GitHub issueI’ve deployed an sregistry instance and created two users.
- The first user has been created by logging in the sregistry instance using the github authentication. After the user has been created, I’ve set the permissions for this user to admin and superuser using
manage.py add_admin
andmanage.py add_superuser
. On the Django administration site I can see that everything looks good. - The second user I created from the Django administration site. It’s not an account to be used by a real user, there is no github account associated. This account is used by a Continuous Integration pipeline. Only the access token will be used to push singularity images to the sregistry instance.
A collection is automatically created when an image is pushed from the CI/CD pipeline. However, I noticed that the superuser/admin is not able to remove/modify a collection owned by this user.
Is this the intended behaviour, or is this a bug? Possibly related: Would you suggest this setup when there is a need for pushing images from a CI/CD pipeline that is not associated with a real user?
How would you suggest to modify (and remove) a collection, maybe from a shell in the docker instance running sregistry?
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
What's the difference between staff, admin, superuser in django?
If logged in as a superuser, you have access to create, edit, and delete any object (models). You can create staff user using...
Read more >How to Remove Collection Accounts from Your Credit Reports
Create a credit cleanup plan and learn how to remove paid collections from your credit report with this handy guide.
Read more >How to Remove Collections from Your Credit Report - Money
You can remove collections from your credit report by disputing errors, goodwill letters, or using a credit repair agency.
Read more >Managing users - Tanium Documentation
When you un-delete users who own content, you can delete or transfer ownership of that content. Un-delete one user at a time: From...
Read more >How To Remove Collections From Your Credit Report - Forbes
Here, we'll walk you through the three steps you can take to remove collection accounts from your credit report.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Awesome! I’ll merge, and you can update your branch with master, or wait (a little longer) for the automated build. Thanks again!
I can confirm that #230 solves it.