Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves 1058, 1060 Implements ADP role and AdpOnly middleware #1071

Merged
merged 12 commits into from
May 17, 2023
Merged

Conversation

jdaigneau5
Copy link
Collaborator

@jdaigneau5 jdaigneau5 commented May 16, 2023

Closes Issues 1058, 1060

Summary

Integrated ADP role and middleware. Created unit tests to ensure middleware is properly providing and restricting access.

Important Changes

middleware.js

  • Added adpOnly middleware

onlyAdpsTest.js

  • Added unit tests for adpOnly middleware

Notes

  • This PR includes other ADP code pulled from Matt, which will be reviewed and have tests added

}
}
*/
mw.validateUser,

Check failure

Code scanning / CodeQL

Missing rate limiting

This route handler performs [authorization](1), but is not rate-limited.
@jdaigneau5 jdaigneau5 merged commit d1ad208 into dev May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants