RealDevSquad / RealDevSquad/website-backend

Add roles property to users object

Open
#352 0 comments 0 reactions 1 assignee View on GitHub

@ankushdharkar is already working on this.

Since Apr 29, 2021.

Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

We need to add the roles property to the users object.
This is how the roles object should look like

{ roles: { member: true } }
  1. We need to set this roles property with member: true for all those users whom we want to be displayed as RDS Members
  2. All the users who do not have this roles property set, will be displayed under new-members section

Also, set roles property to something like this for Ankush

roles: { super_user: true, member: true, admin: true }

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.