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

Merge pull request #146 from tupuio/140-protect-pages #150

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maranta1
Copy link
Contributor

@maranta1 maranta1 commented Nov 23, 2023

What Github issue does this PR relate to?

#138
#141

WIP 🚧

This PR removes the menu that switches between mentee and mentor roles in favour of only rendering menu links that user has access to.

Items to complete:

  • Remove switch menu
  • Create component to render groups of nav links based on roles
  • Handle admin, mentor and mentee roles
  • Only render nav group titles if the user has more than role
  • Unit tests

Close #

Changes proposed in this pull request:

  • [ ]

What should the reviewer know?

Quality Assurance(QA) Checklist

  • The app builds and runs properly

feat: add auth property to restrict pages based on role and published…
Copy link

netlify bot commented Nov 23, 2023

Deploy Preview for tupu-app ready!

Name Link
🔨 Latest commit b617b5a
🔍 Latest deploy log https://app.netlify.com/sites/tupu-app/deploys/655fa0bf0c0d1a0008562f86
😎 Deploy Preview https://deploy-preview-150--tupu-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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.

1 participant