-
Notifications
You must be signed in to change notification settings - Fork 595
Closed
Copy link
Labels
MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeapiREST API Related itemREST API Related itembugSomething isn't workingSomething isn't working
Milestone
Description
🐞 Bug Summary
While updating the tool if we don't provided the optional field visibility, then it considers it "public" by default and overrides the existing visibility of tool and makes it "public" visible.
🧩 Affected Component
Select the area of the project impacted:
-
mcpgateway- API -
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
- Have a tool which is visible "private" or "team"
- update any field of tool but don't provide field "visibility"
- update is successful but tool visibility is "public" now.
🤔 Expected Behavior
If tool visibility is not provided then existing visibility should be taken as reference.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeapiREST API Related itemREST API Related itembugSomething isn't workingSomething isn't working