[LDAP] Deactivating user account via gitea web does not deactivate #4500

Closed
opened 2025-11-02 05:52:49 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @Perflyst on GitHub (Dec 17, 2019).

  • Gitea version (or commit ref): 1.10.1
  • Git version: 2.11.0
  • Operating system: Debian 10
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

If an user from external auth source (e.g. LDAP) gets deactivated by an admin via gitea web admin panel the user is still visible by anyone and is not really deactivated.

Originally created by @Perflyst on GitHub (Dec 17, 2019). - Gitea version (or commit ref): 1.10.1 - Git version: 2.11.0 - Operating system: Debian 10 - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant ## Description If an user from external auth source (e.g. LDAP) gets deactivated by an admin via gitea web admin panel the user is still visible by anyone and is not really deactivated.
Author
Owner

@6543 commented on GitHub (Dec 19, 2019):

as I know inly LDAP auth has the option to update/deactivate user info

and a deactivated user is still visible (wich has nothing to do with LDAP)
for securety reasons a external sync process should not delete things

@6543 commented on GitHub (Dec 19, 2019): as I know inly LDAP auth has the option to update/deactivate user info and a deactivated user is still visible (wich has nothing to do with LDAP) for securety reasons a external sync process should not delete things
Author
Owner

@stale[bot] commented on GitHub (Feb 17, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Feb 17, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@lafriks commented on GitHub (Feb 17, 2020):

Activation does not delete user, it just can't login

@lafriks commented on GitHub (Feb 17, 2020): Activation does not delete user, it just can't login
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4500