RealDevSquad / RealDevSquad/website-backend

change the status code returned by authorization middleware when user don't have required role.

Open
#442 3 comments 0 reactions 1 assignee View on GitHub

@minalchaudhari14 is already working on this.

Since Mar 3, 2022.

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

Description

Now the authorization middleware returns 401 but it should be 403

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.