Skip to content

NemerSahli/React-Role-Based-Access-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Role-Based-Access-Control

I added an Authorization for access control a different dashboards. So you just pass the component, and the allowed role to the Authorization HOC.I assume the user has a property userType.

  • Super admin is able to access the all dashboards.
  • Admin is able to access Admin, Organizer and User dashboards.
  • Organizer is able to access Organzer and User dashboards.
  • User is able to access only User dashboard.

https://nemersahli.github.io/React-Role-Based-Access-Control/

About

Authorization for access control a different dashboards.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published