Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Ability to check if a username is available as an admin #10577

Closed
Half-Shot opened this issue Aug 11, 2021 · 0 comments · Fixed by #10578
Closed

Ability to check if a username is available as an admin #10577

Half-Shot opened this issue Aug 11, 2021 · 0 comments · Fixed by #10578
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@Half-Shot
Copy link
Collaborator

As part of a project I'm working on, I'd like to see if a given localpart is available in synapse without having enable registration. The details are a bit complex but:

  • We don't want to enable registration because we're using SSO (and don't want users to simply stroll up and register an account directly).
  • We have appservices on the host, which means we cannot simply use the SSO provider as a means to check if a localpart is avaliable. Synapse is the best place to be checking if a username is available because it's aware of these.

Essentially, I'd like for admins to still be able to call https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-register-available regardless of the config setting.

@anoadragon453 anoadragon453 added the T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. label Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants