Skip to content

Conversation

@prooflesben
Copy link
Collaborator

ℹ️ Issue

Closes

📝 Description

Write a short summary of what you added. Why is it important? Any member of C4C should be able to read this and understand your contribution -- not just your team members.

Briefly list the changes made to the code:

  1. Put aws cognito access token in login cookies
  2. added guards to backend routes so user is verified that they are a valid user in our app
  3. Added verifyAdminRoleGuard so only admins can do certain things
  4. Made the back to login button on restricted page logout so you can actually go back to login.
  5. Added back to login button to restriced page.

✔️ Verification

What steps did you take to verify your changes work? These should be clear enough for someone to be able to clone the branch and follow the steps themselves.
Manual testing

Provide screenshots of any new components, styling changes, or pages.

Test Changes

If your new feature required some test to be changed or added to fit the new functionality or changes please document these changes here.

🏕️ (Optional) Future Work / Notes

Did you notice anything ugly during the course of this ticket? Any bugs, design challenges, or unexpected behavior? Write it down so we can clean it up in a future ticket!
Put guiards on the whole controller
Put restricted and registerd page in correct folders

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