RealDevSquad / RealDevSquad/website-backend
Update authorizeUser middleware
Open
@pallabez is already working on this.
Since Apr 23, 2022.
enhancement
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Checkout why this update on
- #576
Process
Create authorizeRoles
- No role hierarchy
- Throws error on passing invalid arguments
- Integration tests
- Unit tests
Migrate authorizeUser to authorizeRoles
- Define global contants for
super_user,app_owner&member - Make changes on all API
- Clean up Legacy Roles
- Clean up authorizeUser
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.