RealDevSquad / RealDevSquad/website-backend

[RFC] Restrict users from removing sensitive roles from their profile.

Open
#1,739 0 comments 0 reactions 0 assignees View on GitHub

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:
Screenshot 2023-11-29 at 4 56 13 PM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.