open-im-server icon indicating copy to clipboard operation
open-im-server copied to clipboard

[FEATURE REQUEST] Add scope, or a concept similar to scope

Open menocrat opened this issue 6 months ago • 2 comments

Why this feature?

不知道这个需求合理不,但目前以我的角度而言是需要的。

我目前负责了多个需要im的项目,我目前计划是每个项目都接入openim,但是如果为每个项目都部署一个单独的openim,有点太过于浪费了,而且不方便管理。

所以我的想法是引入scope的概念,二开接入的时候指定scope,openim以scope为隔离,提供统一的im服务,这样就只用维护一个组件了。

Suggested Solution

引入scope,基于scope做隔离

Additional Information

No response

menocrat avatar May 15 '25 15:05 menocrat

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Why this feature?

I don’t know if this requirement is reasonable, but it is currently needed from my perspective.

I am currently responsible for multiple projects that require I. My current plan is to connect to openim for each project, but it is a bit too wasteful to deploy a separate openim for each project and is inconvenient to manage.

So my idea is to introduce the concept of scope. When accessing the second opening, specify scope. Openim uses scope as an isolation and provides a unified im service, so that only one component is maintained.

Suggested Solution

Introduce scope, and isolate based on scope

Additional Information

No response

OpenIM-Robot avatar May 15 '25 15:05 OpenIM-Robot

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

OpenIM-Robot avatar May 15 '25 15:05 OpenIM-Robot