RocketChat / RocketChat/Rocket.Chat
Built-in role descriptions reset
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
If you would be so kind as to not keep resetting the Description of the built-in roles every time the RocketChat server reboots, that'd be great, thanks.
Steps to reproduce:
- Start RocketChat. Login to RocketChat. Go to Permissions and change the "Description" field of the "admin" role to an empty string. Click "Save" to save your changes.
- The role description is now empty. Hooray!
- Restart RocketChat.
Expected behavior:
RocketChat remembers my change and leaves the built-in roles alone.
Actual behavior:
RocketChat decides to put the default description for the built-in roles back.
Server Setup Information:
- Version of Rocket.Chat Server: 3.7.1
- Operating System: CentOS 8
- Deployment Method: Local installation under /opt/rocketchat
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v12.14.0
- MongoDB Version: v4.4.1
Client Setup Information
- Desktop App or Browser Version: 3.0.7
- Operating System: Windows 10
Additional context
I've got a feature enabled that shows the role descriptions as badges in the message window. In order to control what I see there, I'm blanking out the descriptions for the built-in roles and using custom roles for display purposes.
Relevant logs:
I don't have any. I think this might just be an issue where RocketChat mistakingly thinks that something is wrong because the Description field is empty or something.
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 files, tests, or entry points are identified in the issue. Reproduce the role-description reset by clearing the built-in admin description, saving it, and restarting Rocket.Chat; done means the empty description remains unchanged after restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100