Skip to content

User system refactor #25153

Open
Open
@lunny

Description

@lunny

Current Status

  • On the user table, there are two columns LoginType and LoginSource which will decide how to authenticate the user, so a user's login type could be one of NoType , Plain, LDAP, SMTP, PAM, DLDAP, OAuth2, SSPI

When login, first get the database record according to user's input login name on user table. If the record exist, then check user's login type. If login type supports password check, just check password from source.
If the user doesn't exist, then check all possible login sources one by one with give login name and password.

The input username and password will be checked. For some login sources, if password is right but users doesn't exist in database then create one user.

TBC

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions