Replies: 1 comment
-
能问下这个租户管理y有界面可以操作吗?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Astron Agent 平台支持多租户架构,主要通过以下几个层面实现:
核心租户服务
系统提供了专门的 core-tenant 服务(端口 5052)用于租户管理 。该服务使用 Go 语言开发,负责处理租户相关的核心逻辑 。
数据库隔离
多租户数据隔离通过以下方式实现:
PostgreSQL - 用于租户服务和内存服务的数据存储
MySQL - 存储应用数据,包含多个租户相关的数据库表
空间(Space)和企业(Enterprise)模型
系统实现了两层多租户模型:
空间级别:
agent_space 表管理工作空间
agent_space_user 表管理空间成员,支持三种角色:owner(1)、administrator(2)、member(3)
企业级别:
agent_enterprise_user 表管理企业团队用户
支持三种角色:super administrator(1)、administrator(2)、member(3)
权限控制
系统通过 agent_space_permission 表实现细粒度的权限控制 ,不同角色拥有不同的操作权限。
配置说明
租户服务的关键配置包括:
数据库类型、连接信息
最大连接数配置
服务端口和位置配置
Beta Was this translation helpful? Give feedback.
All reactions