Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
menocrat opened this issue May 15, 2025 · 2 comments
Open

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

menocrat opened this issue May 15, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@menocrat
Copy link

Why this feature?

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

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

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

Suggested Solution

引入scope,基于scope做隔离

Additional Information

No response

@menocrat menocrat added the enhancement New feature or request label May 15, 2025
@OpenIM-Robot OpenIM-Robot changed the title [FEATURE REQUEST] 增加scope,或类似scope的概念 [FEATURE REQUEST] Add scope, or a concept similar to scope May 15, 2025
@OpenIM-Robot
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants