Skip to content
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

Implement user removal from MUC light in REST administrative APIs #3388

Closed
apontini opened this issue Nov 5, 2021 · 7 comments
Closed

Implement user removal from MUC light in REST administrative APIs #3388

apontini opened this issue Nov 5, 2021 · 7 comments

Comments

@apontini
Copy link

apontini commented Nov 5, 2021

MongooseIM version: 5.0.0
Installed from: /
Erlang/OTP version: /

Hello everyone!
While reading the MongooseIM's REST API for backend administration documentation, I found out that there's no API to kick a user from a MUC light but only one to delete the room.

My question is: is this something that's not possible (maybe I'm missing something about MUC light implementation) or can it be implemented?
IMHO it would be useful for backend related operations to expose such API without the need to authenticate the user that's performing the action, as it's required with the client/frontend APIs.

@chrzaszcz
Copy link
Member

chrzaszcz commented Mar 7, 2022

We are developing new GraphQL API now. This issue will not be present in the new API anymore. Do you still need this feature in the REST API?

@apontini
Copy link
Author

apontini commented Mar 7, 2022

It would be nice to have, yes. Right now our workflow (including code generators, libraries etc.) assumes REST as a convention between our services.

@gustawlippa
Copy link
Contributor

Hi @apontini!
I'll create a ticket in the backlog for this, but being honest, our open source team is rather small at the moment, and focused on introducing the GraphQL API. Our plan is to develop and improve it instead of the REST API, so I'm afraid it can be long before this feature is introduced if ever.
If you really need this feature, you could consider sponsoring it. It doesn't seem too big to implement, and maybe we could shift our priorities and deliver it as well. Please reach out to us at https://www.erlang-solutions.com/contact/ if you would be interested.

@apontini
Copy link
Author

Got it! I just have a couple questions then:

  • Will the GraphQL API include this feature?
  • Is there any ETA for this new APIs?

@gustawlippa
Copy link
Contributor

gustawlippa commented Mar 29, 2022

  • Yes, it'll be included in the GraphQL admin API (user's API as well, similarly to current REST API)
  • We're aiming at the end of Q2 2022 to introduce the GraphQL API.

If you are interested in the new GraphQL API, you can take a look at the feature branch: https://github.com/esl/MongooseIM/tree/feature/graphql/priv/graphql/schemas

@apontini
Copy link
Author

Thank you. I'll keep this issue open hoping that you'll be able to implement this feature in REST APIs too, unless you want to close it.

@chrzaszcz
Copy link
Member

I am closing this one, because we have moved to GraphQL, and the REST API is no longer being extended.

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

No branches or pull requests

3 participants