← All changes

SummerCMS 0.6.7

v0.6.72 min readFramework

Highlights

Administrators can now sign in to an MCP client (such as a custom connector in Claude) over OAuth instead of pasting a personal API token. The admin SPA gains a consent screen. An authorization server plugin can hand the browser off to it, and the resulting grants are capped exactly like g15_ tokens.

Added

  • Administrator MCP grants. pact.MCPAdminConsent lets a plugin issue MCP grants whose subject is an administrator rather than a frontend user. pier treats these grants like personal API tokens: an agent sees the backend tools the administrator may use, narrowed by the granted scopes.
  • Admin consent screen at /connect. It shows the client, the signed-in administrator and the requested scopes. Allow grants the ticked scopes, and Stay connected also grants offline access. The screen has a login hint and a switch-account path, and if the administrator is not signed in, the login returns to the same request.
  • Consent hand-off. The new wristband ConsentPath option sends the browser from the authorization endpoint to a consent page, such as the admin's /connect. wristband.CheckConsentPath validates the path.
  • Consent API. cabana serves GET and POST {api}/mcp/consent/{request}. TokenScopeNames and TokenScopeLabels expose the token scope catalog.
  • Item rows on My account. Contributions can list items with per-row actions, served at POST {api}/account/contribution-items/{name}/{item}/actions/{action}.
  • BackendAccessRevokedEvent. It fires inside the saving transaction whenever an administrator's access changes: deletion, deactivation, a password change (including admin:reset-password), and changes to their role, permissions or superuser flag. Listeners can end that administrator's grants atomically with the change.

Changed

  • An authorize request that names only offline_access now gets the server's DefaultScopes, when they are configured.
  • A request that names no scope is refused with invalid_scope if the server does not accept read and sets no DefaultScopes.

Fixed

  • admin:reset-password now runs in a transaction, so after-commit listeners (cache purges, revocations) fire for it.
  • The admin consent API refuses a provider redirect that does not match the request's registered redirect URI. The consent screen also refuses blob:, file:, about: and filesystem: destinations.
  • pier refuses an MCP grant with an unknown subject instead of treating it as a frontend user's grant.
  • A ConsentPath that is not a same-origin path is refused instead of sending the browser off-site.
Subscribe via RSS