Skip to content

venkateshkasani/rbac

Repository files navigation

React + TypeScript + Vite

Setup

The setup is quite simple. open terminal and clone this repo : commands to setup and run locally using npm: git clone https://github.com/venkateshnani14/rbac.git npm i npm run dev

#Application usage guide

This application has currently 2 roles.

  1. ADMIN
  2. USER

#Note : If you run into any issue, please try to clear the application-cache in the browser and then open the app in a new tab.

First, login as an admin with random credentials to see the admin dashboard. You can view the users and their permissions. Admins have access to permission (read, write and delete) Users have access to only read and write but not delete. The ACCESS DATA button takes you to the homepage where the data exists. Only admins can be able to delete the data whereas the users can still read and write them.

About

A role based access control application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published