code
code copied to clipboard
Unable to edit project member
Describe the bug
When trying to edit permissions, revenue or role of any invited member in project, Modrinth says that An error occurred Authentication Error: You cannot override the project permissions of the organization owner!.
Steps to reproduce
- Open the Project settings
- Go to the
Memberspage - Open any member options
- Select some permissions, or change role name, or edit revenue percentage
- Click on
Save changes - Get an error:
An error occurred Authentication Error: You cannot override the project permissions of the organization owner!
The same error still appears when I edit organization member, not just a project member.
Expected behavior
The changes that I did are applied to the member.
Additional context
I'm tried to edit permissions on a project that:
- currently is draft
- belongs to organization
When I just invite member to my organization and edit global permissions, everything works fine. Also, when I edit myself in Members page, all changes are successfully applied.
Can you confirm if this is still happening?
Can you confirm if this is still happening?
Just checked it, and yes, but only to project members (on screenshot I tried to add my alt account). After clicking Save it throws 401 Unauthorized.
With an organization member as the project member it works fine.
I also noticed that the Members page takes a long time to load the first time.
Not sure if it's the same exact cause, but I also consistently run into this with projects that I transfered from a user account to an organization, making the org pretty much unusable for existing projects. It doesn't happen when editing organization members though, just when editing them within the org's projects
Can confirm this is still the case (for the project members). It's been causing the WispForest org problems
I can also confirm this is still happening. For organization overrides this you can workaround it by removing the override, and then re-adding it, but for individual project invites this seems like a major issue. I'm unable to invite someome to a project and give them permissions or change their role name...
Upd: seems that this issue is partially fixed. When you toggle "Override values" switch, you can edit the member's role and permissions, but only once. Re-toggling this switch allows to edit the values again.
I still have this issue, and it is substantially worse as I cannot change anything on the members page (other than inviting someone)