mcp-context-forge
mcp-context-forge copied to clipboard
[BUG]: User with no Administrator privileges should not see all menu entries as Admin does
🐞 Bug Summary
User with no Administrator privileges should not see all menu entries as Admin does
🧩 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
- Go to local environment -> http://localhost:4444/admin/#teams
- Check all menu entries Admin versus User role
🤔 Results
All menu entries are the same user versus Admin.
🤔 Expected Behavior
Not all menu entries should be visible for the user. Example OCP2 QA ->
📓 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
Tested on local environment. Now the user role see the correct entry for his rights.