Description
I have run into an issue and I want to post here before I put in a bug.
I deactivated an user and then reactivated them. It all seemed to work correctly except when they went to their direct messages to someone with the “guest” permissions their chat was read only.
I verified this in the DB:
I deactivated the user and reactivated them again and there was no change. The only way to get this to work is to edit the ro tag in MongoDB to false.
Is this an expected behavior or is this a bug?
Server Setup Information
- Version of Rocket.Chat Server: 4.6.0
- Operating System: Ubuntu 20.04
- Deployment Method: Manual
- Number of Running Instances: 1
- DB Replicaset Oplog: Enabked
- NodeJS Version: 14.0.0
- MongoDB Version: 4.4.13
- Proxy: nginx
- Firewalls involved: None.
Any additional Information
Steps to reproduce
- Deactivate the user.
- Reactivate the user.
- Go to user and open the direct message with whom has the “guest” permissions.
- See the room is set to read only.