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

Protected routes solution for pages that require credentials needed #51

Closed
jcaianirh opened this issue Feb 27, 2019 · 3 comments
Closed

Comments

@jcaianirh
Copy link
Collaborator

In the Chris UI we have a protected routes solution that we can also use here in the store. https://github.com/rebecabkerr/ChRIS_ui/blob/feature/feed/src/components/common/PrivateRoute.tsx

https://github.com/rebecabkerr/ChRIS_ui/blob/feature/feed/src/routes.tsx

@gagansk
Copy link
Collaborator

gagansk commented Apr 8, 2019

@jcaianirh , What are the features we are supposed to make private? Dashboard appears only after login already.

@jcaianirh
Copy link
Collaborator Author

@gagansk if a user bookmarks dashboard it should be protected

@jcaianirh
Copy link
Collaborator Author

closed with this pr: #60

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

No branches or pull requests

2 participants