[BUG]: Teams - Manage Members - Add New Member - Add Member button don't work for user role
🐞 Bug Summary
Teams - Add New Member - Add Member button don't work for user role
🧩 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
- The user must have user role
- Go to http://localhost:4444/admin/#teams
- Select a Team that the user is an owner
- Click Manage Members
- Click show
- Select and user
- Click Add Member
🤔 Results
Add Member button don't work for user role
🤔 Expected Behavior
The user role if it's an owner should have the rights to add members to a Team.
📓 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
I've tested it with the latest changes. I did git pull the latest version and ran the app on https://locahost:4444.
- Created a new user
- Add the user to my team
the greatest team - public
- Check if the user is added to the team - It was added there
@IuliaGaitan - can you please retest it on the latest version? And let us know if you can still see the issue.
Tested on local environment. The Save Changes is available and working as design. The user can add members to the team.