RocketChat / RocketChat/Rocket.Chat
LDAP users not deleted on sync
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Users deleted from AD/LDAP are not automatically deleted on sync and need to be removed manually.
Steps to reproduce:
- Delete user under in AD/LDAP
- Perform sync in RC
Expected behavior:
Users previously deleted in AD/LDAP should be automatically deleted in RC when their accounts are not found during sync.
Actual behavior:
Users remain in RC's database and need to be deleted automatically.
Server Setup Information:
Version of Rocket.Chat Server: 3.6.2
Operating System: Ubuntu
Deployment Method: snap
Number of Running Instances: 1
DB Replicaset Oplog:
NodeJS Version: 12.16.1
MongoDB Version: 3.6.14
Client Setup Information
Desktop App or Browser Version: Chrome 85.0.4183.121 / Windows Desktop App ver. 2.17.9
Operating System: Windows
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named in the report. Start by reproducing an AD/LDAP deletion followed by a Rocket.Chat sync on the affected setup, then trace the sync entry point and verify that users absent from LDAP are removed from Rocket.Chat's database.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb, typescript
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100