RealDevSquad / RealDevSquad/website-backend
Add roles property to users object
Open
@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 } }
- We need to set this
rolesproperty withmember: truefor all those users whom we want to be displayed as RDS Members - All the users who do not have this
rolesproperty set, will be displayed undernew-memberssection
Also, set roles property to something like this for Ankush
roles: { super_user: true, member: true, admin: true }
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.
Assessment
This issue has not been assessed yet.