Skip to content

Option to disallow new users? #309

@brevilo

Description

@brevilo

Hi,

I'd like to disallow the "sign up" of new users, while the addition of new devices for existing users should remain allowed. Looking at the code I figured that the equivalent of a user is probably called a "client" and the equivalent of a device is a "sync entity", correct?

Where would be the best place to cancel a new "sign up"? Assuming the above terminology is correct, one idea would be here which is run for each new client and at that point without having found any nigori details for the clientID, so I'd just return an error there. Any better approach?

I reckon this could be a useful feature for almost all decentral sync server instances. Would it be feasible to make this an "official" feature, e.g. controlled by an environment variable?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions