menu
Channels
Team

Does anyone has resources for Role base routing in reach router?

January 1, 2019 at 9:25pm

Does anyone has resources for Role base routing in reach router?

January 1, 2019 at 9:25pm

Thanks in advance


January 7, 2019 at 6:36pm

I have created a HOC with receives an array containing the roles which are allowed to view the route. See https://gitlab.com/openpatch/authentification/blob/master/ui/src/withAuth.js

like-fill
1
  • reply
  • like