-
Notifications
You must be signed in to change notification settings - Fork 81
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
Org admin cannot archive own project #1752
Comments
Have you created that project before the permissions branch went on staging? I can archive projects in an org I have created today. |
I created that project today, but the organization and the admin account existed before the permissions branch went on staging. |
I can archive projects on orgs pre- and post- permissions branch. In your screenshot, the account is listed as admin but has different non-admin project roles. In viewing the organization's member list now, it shows you as a member with project manager roles: It looks like somewhere in testing with your organization, user permissions got modified, but this is unrelated to the permissions branch. |
OK. So there is definitely some weirdness going on and a most likely an inconsistency in the database. Only an org admin can create projects and view the org membership page (otherwise, I wouldn't be able to take that screenshot) or create the "QA Day Test Project", which I was trying to archive. So my account is being treated as an org admin in some respects but as a non-org admin in other respects. |
Ref: #1754 (comment) |
@seav Can you walk me through the steps you took to get to this stage? I can reproduce David's bug but not yours. |
@oliverroick, I can't remember if I did anything to get this bug so I stated above that "I don't know how to reproduce this". I definitely did not attempt to remove my account's administrator status during testing. But if your explanation in #1754 is correct, then this bug seems to make sense. Only org admins can archive/unarchive projects and while I was able to create a project (which is probably related to my existing tutelary |
Not able to reproduce. Closing. |
Steps to reproduce the error
I don't know how to reproduce this, but this is happening on staging. I think this was a side-effect of the tutelary replacement branch testing. I am an org administrator for a project (see 1st screenshot below), but when I try to archive a project, I get a denied error message (see 2nd screenshot below).
Actual behavior
Org admin cannot archive a project in their org.
Expected behavior
Org admin should be able to archive a project in their org.
The text was updated successfully, but these errors were encountered: