RealDevSquad / RealDevSquad/website-backend

write migration to add missing roles to existing users

Open
#2,071 0 comments 0 reactions 1 assignee View on GitHub

@yesyash is already working on this.

Since Aug 17, 2024.

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

Description

Related ticket
Issue Description
  • in production, certain roles are missing for some users, we need to write a migration that will add all pending roles to all users.
  • only super users will be able to run this migration
Expected Behavior
  • post-migration, all users will have all roles supported by the rds backend.
Current Behavior
  • some users are missing certain roles.
Severity/Priority
  • Critical
  • High
  • Medium
  • Low

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.