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

[BUG]: User with no Administrator privileges should not see all menu entries as Admin does

Open IuliaGaitan opened this issue 10 months ago • 1 comments

🐞 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

  1. Go to local environment -> http://localhost:4444/admin/#teams
  2. Check all menu entries Admin versus User role

🤔 Results

All menu entries are the same user versus Admin.

Image

🤔 Expected Behavior

Not all menu entries should be visible for the user. Example OCP2 QA ->

Image

📓 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

Tested on local environment. Now the user role see the correct entry for his rights.

Image

IuliaGaitan avatar Feb 05 '26 11:02 IuliaGaitan