mcp-context-forge icon indicating copy to clipboard operation
mcp-context-forge copied to clipboard

[BUG]: Teams - Manage Members - User role - Owner of the team can not switch member to owners or owner to members

Open IuliaGaitan opened this issue 10 months ago • 2 comments

🐞 Bug Summary

Teams - Manage Members - User role - Owner of the team can not switch member to owners or owner to members


🧩 Affected Component

Select the area of the project impacted:

  • [ ] mcpgateway - API
  • [x] mcpgateway - UI (admin panel)
  • [ ] mcpgateway.wrapper - stdio wrapper
  • [ ] Federation or Transports
  • [ ] CLI, Makefiles, or shell scripts
  • [ ] Container setup (Docker/Podman/Compose)
  • [ ] Other (explain below)

🔁 Steps to Reproduce

  1. User must not have Admin privileges
  2. Go to http://localhost:4444/admin/#teams
  3. Got a a Team where the user it's an owner
  4. Click Manage Members
  5. Try to switch member to owners or owner to members

🤔 Results

Nothing happens is the user closes the modal and opens it again.

Image

🤔 Expected Behavior

Owner of the team should have the rights to switch member roles.


📓 Logs / Error Output

Paste any relevant stack traces or logs here. ⚠️ Do not paste secrets, credentials, or tokens.


🧠 Environment Info

You can retrieve most of this from the /version endpoint.

Key Value
Version or commit v0.128.0
Runtime Python 3.12.3
Platform / OS Linux 6.6.87.2-microsoft-standard-WSL2 (x86_64)
Container none

🧩 Additional Context (optional)

Related to #2663

IuliaGaitan avatar Feb 03 '26 15:02 IuliaGaitan

I've tested it with the latest changes. I did git pull the latest version and ran the app on https://locahost:4444/.

  1. I opened the Manage Members modal where I can see a member.
Image
  1. I changed Member to Owner in the dropdown.

  2. I checked if the member has a role of Owner and it has.

Image

@IuliaGaitan - can you please retest it on the latest version? And let us know if you can still see the issue.

marekdano avatar Feb 04 '26 11:02 marekdano

Tested on local environment. Now Show button is no longer available and the user can be added and roles can be switched - Save Changes active.

Image Image

IuliaGaitan avatar Feb 05 '26 12:02 IuliaGaitan