Skip to content

Update existing LDAP users without using sync #23407

Open
@urz-hgw

Description

@urz-hgw

Feature Description

Hi,

we are successfully running an LDAP as Authentication Source with Gitea. But we deactivated the 'User Synchronisation" since we have around 20K users in LDAP, which should all be able to login to Gitea, but only those accounts who actually want to use Gitea (around 100) should be existing there to fullfill the data economy for the GDPR.

This has the sad effect, that AFAIK the cron 'Synchronize external user data' does not update the existing LDAP users unless the 'User Synchronisation' of the LDAP source is activated - which also would add all other users, what we want to prevent.

Therefore it would be great, if the user data of LDAP users are updated every time an LDAP user logs in into Gitea.

Best regards
Daniel

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/authenticationtype/featureCompletely new functionality. Can only be merged if feature freeze is not active.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