feat: add tenant-aware IM management console
This commit is contained in:
@@ -228,6 +228,7 @@ func (s *sAdminSite) handleLogin(ctx context.Context, mb *entity.AdminMember) (r
|
||||
|
||||
user := &model.Identity{
|
||||
Id: mb.Id,
|
||||
TenantId: mb.TenantId,
|
||||
Pid: mb.Pid,
|
||||
DeptId: dept.Id,
|
||||
DeptType: dept.Type,
|
||||
@@ -319,6 +320,7 @@ func (s *sAdminSite) BindUserContext(ctx context.Context, claims *model.Identity
|
||||
|
||||
user := &model.Identity{
|
||||
Id: mb.Id,
|
||||
TenantId: mb.TenantId,
|
||||
Pid: mb.Pid,
|
||||
DeptId: dept.Id,
|
||||
DeptType: dept.Type,
|
||||
|
||||
Reference in New Issue
Block a user