knossos icon indicating copy to clipboard operation
knossos copied to clipboard

Unable to edit project member

Open EgorBron opened this issue 1 year ago • 2 comments

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

  1. Open the Project settings
  2. Go to the Members page
  3. Open any member options
  4. Select some permissions, or change role name, or edit revenue percentage
  5. Click on Save changes
  6. Get an error: An error occurred Authentication Error: You cannot override the project permissions of the organization owner!

Error when editing member in project

The same error still appears when I edit organization member, not just a project member.

Editing organization member in project

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.

Editing organization member

EgorBron avatar Feb 23 '24 11:02 EgorBron

Can you confirm if this is still happening?

Prospector avatar Apr 14 '24 21:04 Prospector

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. issue

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.

EgorBron avatar Apr 15 '24 05:04 EgorBron