refactor(auth): delegate access control to be-system
Remove Agent Desk users, roles, login sessions, tokens, and local permission persistence. Expose the backend as an embeddable ai-agent module with host-provided subject lookup and operation authorization callbacks, and complete the frontend/backend repository split.
This commit is contained in:
@@ -32,18 +32,6 @@ error.e0032: "MCP endpoint is required."
|
||||
error.e0033: "MCP server is not enabled."
|
||||
error.e0034: "MCP server configuration not found."
|
||||
error.e0035: "MCP is not enabled."
|
||||
error.e0036: "OIDC clientId is not configured."
|
||||
error.e0037: "OIDC clientSecret is not configured."
|
||||
error.e0038: "OIDC id_token is missing."
|
||||
error.e0039: "OIDC issuer is not configured."
|
||||
error.e0040: "OIDC redirectUrl is not configured."
|
||||
error.e0041: "OIDC authorization code is required."
|
||||
error.e0042: "OIDC user information not found."
|
||||
error.e0043: "OIDC user identifier not found."
|
||||
error.e0044: "OIDC sign-in secret is not configured."
|
||||
error.e0045: "OIDC sign-in is not enabled."
|
||||
error.e0046: "OIDC sign-in state is invalid or has expired."
|
||||
error.e0047: "The system user linked to this OIDC account does not exist."
|
||||
error.e0048: "OSS accessKeyId is not configured."
|
||||
error.e0049: "OSS accessKeySecret is not configured."
|
||||
error.e0050: "OSS bucket is not configured."
|
||||
@@ -183,8 +171,6 @@ error.e0183: "Closed conversations cannot be linked to customers."
|
||||
error.e0184: "Restore this deleted Skill before changing its status."
|
||||
error.e0185: "This AI Agent is linked to channels and cannot be deleted."
|
||||
error.e0186: "Platform message not found."
|
||||
error.e0187: "The current OIDC binding has been disabled."
|
||||
error.e0188: "The current WeCom binding has been disabled."
|
||||
error.e0189: "This conversation is not currently handled by AI."
|
||||
error.e0190: "This conversation has already been assigned."
|
||||
error.e0191: "This conversation has been assigned to another agent."
|
||||
@@ -356,22 +342,11 @@ error.mcp.connectServerFailed: "Failed to connect to MCP Server: %v"
|
||||
error.wxwork.unsupportedOutboundMessageType: "Unsupported WeCom outbound message type: %s"
|
||||
error.wxwork.currentUnsupportedOutboundMessageType: "The current WeCom outbound message type is not supported yet: %s"
|
||||
error.param.required: "Parameter %s is required."
|
||||
error.oidc.loginDisabled: "OIDC login is not enabled."
|
||||
error.oidc.stateSecretMissing: "OIDC login secret is not configured."
|
||||
error.oidc.profileMissing: "OIDC user information does not exist."
|
||||
error.oidc.bindingDisabled: "The current OIDC binding has been disabled."
|
||||
error.oidc.boundUserMissing: "The system user bound to this OIDC account does not exist."
|
||||
error.wxwork.loginDisabled: "WeCom login is not enabled."
|
||||
error.wxwork.loginSecretMissing: "WeCom login secret is not configured."
|
||||
error.wxwork.profileMissing: "WeCom user information does not exist."
|
||||
error.wxwork.bindingDisabled: "The current WeCom binding has been disabled."
|
||||
error.wxwork.boundUserMissing: "The system user bound to this WeCom account does not exist."
|
||||
error.wxwork.userIDMissing: "Failed to get the WeCom user ID."
|
||||
error.wxwork.userIDTaken: "The WeCom user ID is already used as a system username."
|
||||
error.wxwork.mobileTaken: "The WeCom mobile number is already used by a system user."
|
||||
error.wxwork.emailTaken: "The WeCom email address is already used by a system user."
|
||||
error.wxwork.configIncomplete: "WeCom is not enabled or its configuration is incomplete."
|
||||
error.customerSession.secretMissing: "Customer session secret is not configured."
|
||||
error.conversation.createFailed: "Failed to create conversation."
|
||||
error.conversation.tagNotFound: "Tag not found."
|
||||
error.aiConfig.noneEnabled: "No available AI configuration is configured."
|
||||
|
||||
Reference in New Issue
Block a user