RocketChat / RocketChat/Rocket.Chat
Same Description for Different Roles
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
While setting description for roles it is currently possible that two different roles can have same description.
For ex: Admin role can be shown as Moderator by changing it's description
Steps to reproduce:
- Go to Administration > Permissions > Select Any Role
- Change it's description to already existing role's description
- We can save our preferences
Expected behavior:
We shouldn't be able to set same description for different roles
Actual behavior:
We are able to set.
Server Setup Information:
- Version of Rocket.Chat Server: 3.11.0-develop
- Operating System: Ubuntu
- Deployment Method:
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version:
Client Setup Information
- Desktop App or Browser Version:
- Operating System:
Additional context
Relevant logs:
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
Start by reproducing the issue through Administration > Permissions with two roles, changing one description to match the other. Trace the permission and role update flow, then verify that duplicate descriptions are rejected and that existing distinct role descriptions continue to save correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authorization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100