Skip to content

Show the paused-updates warning only to users who can update plugins - #473

Merged
KevinBatdorf merged 1 commit into
mainfrom
update/gate-notice-admins-only
Nov 27, 2026
Merged

KevinBatdorf merged 1 commit into
mainfrom
update/gate-notice-admins-only

Conversation

@KevinBatdorf

Copy link
Copy Markdown
Owner

On a server without mbregex, everyone editing a code block saw "Updates are paused until your host adds it", including authors who can't update plugins or contact the host. The editor now only gets canUpgrade for users with the update_plugins capability, so the warning stays hidden for everyone else. The update gate itself is unchanged.

  • A new update-notice test covers a user who can't update plugins. It fails on main and passes here.

🤖 Generated with Claude Code

An author editing a code block saw "Updates are paused until your host
adds mbregex", but cannot update plugins or ask the host for anything.
The editor now only receives canUpgrade when the user has the
update_plugins capability, so the notice stays hidden for everyone else.
The update gate itself is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KevinBatdorf
KevinBatdorf merged commit b37d35a into main Nov 27, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant