RocketChat / RocketChat/Rocket.Chat
Custom role
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Create a custom admin role to create and edit users. when i create a user it said without the permission of "edit-privileged-setting" even i add the "assign-admin-role" and "assign-roles" i cannot add new user
Steps to reproduce:
- Create Custom role "Admin" description "Can only create and edit user".
- Set proper prillege to view admin panel user information edit information crete user.
Expected behavior:
Create new user and edit users
Actual behavior:
having a default value of "X" in Role
Server Setup Information:
- Version of Rocket.Chat Server: 6.3.3
- Operating System: ubuntu server
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v14.21.2
- MongoDB Version:5.0.15
Client Setup Information
- Desktop App
- Operating System: windows
Additional context
when i add edit-privileged-setting the "x" value is remove and role has a default value of "user"
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
Reproduce the custom-role flow described on Rocket.Chat 6.3.3: create a role with user-management permissions, then try creating and editing a user. Compare the behavior with and without "edit-privileged-setting" and verify that the role field is no longer "X" and users can be created and edited.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authorization, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100