Skip to content

Reset the MCP user in the read-only ACL rule - #610

Merged
nassery318 merged 1 commit into
mainfrom
update-mcp-docs
Dec 2, 2026
Merged

nassery318 merged 1 commit into
mainfrom
update-mcp-docs

Conversation

@nassery318

Copy link
Copy Markdown
Contributor

Description

Add reset to the MCP read-only ACL SETUSER example in features/mcp.md and apps/mcp/README.md. Without it, an existing mcp_readonly user keeps its earlier grants and passwords, so the result may not be read-only. Also adds a warning that reset wipes an existing user with that name, and drops reset from the ElastiCache access string.

Signed-off-by: nassery318 <nassery318@gmail.com>
@github-actions
github-actions Bot requested a review from ArgusLi December 2, 2026 19:08
@github-actions github-actions Bot added the area/docs Documentation site label Dec 2, 2026
@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Explain Change →

Walkthrough

The MCP README and feature documentation update the read-only ACL example and clarify how reset affects existing users. They also specify that reset must be omitted from the ElastiCache access string.

Changes: MCP ACL documentation

Layer / File(s) Summary
ACL setup and ElastiCache guidance
apps/mcp/README.md, docs-site/src/content/docs/features/mcp.md
The ACL instructions add reset, explain that it replaces existing grants and passwords, and clarify its ordering. The ElastiCache instructions say to omit reset from the access string.

Change: Other

Merge Risk: Minimal · up to 4f990

This change updates the MCP read-only ACL instructions to include reset and explains its effect on an existing user. No functional or security risk follows from it. A note that already-connected clients keep their session could be added, but it is not required for merging.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title 'Reset the MCP user in the read-only ACL rule' matches the main change. The PR adds reset to the read-only ACL SETUSER examples in the MCP docs and README, so an existing user's old gran…
Description check Passed The description states the purpose: adding reset to the MCP read-only ACL SETUSER example in features/mcp.md and apps/mcp/README.md, why it matters (an existing mcp_readonly user keeps earli…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title 'Reset the MCP user in the read-only ACL rule' matches the main change. The PR adds reset to the read-only ACL SETUSER examples in the MCP docs and README, so an existing user's old grants and passwords are cleared. The title is specific and short, and it describes the primary change.

Full details: Description check

Explanation

The description states the purpose: adding reset to the MCP read-only ACL SETUSER example in features/mcp.md and apps/mcp/README.md, why it matters (an existing mcp_readonly user keeps earlier grants and passwords), a warning that reset wipes an existing user, and removal of reset from the ElastiCache access string. The template asks for a summary and a Change Visualization section with a screenshot or video. The description has a summary but no Change Visualization section. For a documentation-only change, a screenshot is of limited use, but the section is still absent and should be marked as not applicable.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional comments: 1

apps/mcp/README.md-174-174: 1

174-174: Major · Security & Privacy · Quick win

Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.

Clarify that reset does not revoke existing sessions.

An already authenticated client can continue to use the new read-only permissions, even after its old password is removed. An operator may otherwise believe that the session has lost access. State that old credentials fail on reconnect, and that CLIENT KILL can terminate existing sessions when needed. Update the mirrored warning in the feature page too. (valkey.io)

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e889e739-fa46-4d09-b36b-583930fcd02f
Commits

Reviewing files that changed from the base of the PR and between 135b507 and 4f9904e.

Files selected for processing: 2

  • apps/mcp/README.md
  • docs-site/src/content/docs/features/mcp.md

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@nassery318
nassery318 merged commit 3466fb7 into main Dec 2, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Documentation site

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants