-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
Milestone
Description
Description:
I have tested on newst develop branch. There is not possible to deactivate user which is owner of any room from REST API. When I try to do this an error apears:
"details": {
"shouldBeRemoved": [
"tescik"
],
"shouldChangeOwner": [
"enc test 2",
"aaa",
"test-delete"
]
},
"error": "[user-last-owner]",
"errorType": "user-last-owner",
"success": false
}
Steps to reproduce:
- Try "Deactivate" user which is owner of any room from REST API call
- Described error appears
Expected behavior:
User will be deactivated and new owners of rooms will be assigned
Actual behavior:
user-last-owner error appears
Server Setup Information:
- Version of Rocket.Chat Server: 3.6.0-rc.2
- Operating System: Centos 7
- Deployment Method: docker compose
- Number of Running Instances: 9
- DB Replicaset Oplog: YES
- NodeJS Version: v12.16.1
- MongoDB Version: 4.0.13
Client Setup Information
- Desktop App or Browser Version: both
- Operating System: Windows 10
Additional context
Relevant logs:
Reactions are currently unavailable