Skip to content

Warn, and perhaps abort, if the source returns no users #121

@tlater-famedly

Description

@tlater-famedly

Currently, when a source returns nothing this is just silently treated as "there are no users in this source". This makes sense in theory, but in practice this almost always means that the source was misconfigured. A user may not realize this, especially in the case of LDAP, where configuration is quite complex.

We should print a warning when this happens (so that dry runs give users information), and perhaps entirely abort syncs like this - after all, they will simply delete all users, which is most likely not intended.

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