feat(32.2-02): admin consent card at /connect posts the decision and leaves for redirect_uri
- /connect route without shell and without public, so login round-trips back
- ConnectView ready state: client mark, fact box, catalog-order scope picker
with the token-dialog * rule, Stay connected, Deny and Allow
- Allow/Deny POST /mcp/consent/{request}; the browser leaves through
window.location.assign after refusing javascript:, data: and vbscript:
- MCPConsent, MCPConsentDecision and AccountItem type aliases
- backend::lang.mcp_connect copy in en and pl; connect page title
- smoke test: ticks, POST body, assign called, router never used
This commit is contained in:
@@ -351,6 +351,29 @@ api_tokens:
|
||||
mcp_connect:
|
||||
request_not_found: This connection request has expired or does not exist.
|
||||
no_grantable_scopes: Choose at least one scope you can use.
|
||||
page_title: Connect an agent
|
||||
heading: Allow :client to use the admin as you?
|
||||
subline: The agent gets your permissions, limited to the scopes you tick. It never gets more access than your own account.
|
||||
signed_in_as: Signed in as
|
||||
admin_with_email: ":name (:email)"
|
||||
switch_account: Use another account
|
||||
returns_to: Returns to
|
||||
offline: Stay connected
|
||||
offline_description: The agent can renew its access without asking you again. Untick it and the agent has to be allowed again when its access expires.
|
||||
previously_allowed: You have allowed :client before.
|
||||
allow: Allow
|
||||
allowing: Allowing…
|
||||
deny: Deny
|
||||
returning: Returning you to :host…
|
||||
continue: Continue to :host
|
||||
login_hint: Sign in to finish connecting your MCP agent.
|
||||
none_grantable: Your account has none of the permissions this agent asks for. Deny the request, or ask a superuser for the permissions and connect again.
|
||||
expired_heading: This connection request has expired
|
||||
expired_body: Connection requests are valid for a few minutes and work only once. Go back to your agent and connect again.
|
||||
open_admin: Go to the admin panel
|
||||
load_failed: The connection request could not be loaded. Check your connection and try again.
|
||||
retry: Try again
|
||||
decide_failed: Your answer could not be sent. Try again.
|
||||
myaccount:
|
||||
menu_label: My account
|
||||
menu_description: Edit your name, email, subtitle and password, and manage your API tokens.
|
||||
|
||||
Reference in New Issue
Block a user