RealDevSquad / RealDevSquad/website-backend
[RFC] Restrict users from removing sensitive roles from their profile.
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Issue Description
Currently anyone can assign and un-assign roles like group-idle and group-idle-7d+ this should not be allowed.
Sensitive roles: Roles which are currently used to remove discord members
Screenshots:
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
The issue does not name a file or test. Start by tracing the profile role assignment and removal API, identify how sensitive roles are determined, and confirm the existing behavior for roles such as group-idle and group-idle-7d+. Done means users cannot assign or unassign roles used to remove Discord members, with the behavior covered by relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, authorization, backend, security
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100