Skip to content

Farru049/Role-Based-Access-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Role-Based Access System

A powerful **Role-Based Access Control (RBAC)** system designed to manage users, roles, and permissions efficiently. The system allows administrators to control access to different parts of the application based on user roles, making it easy to define and enforce permissions for various users.

## Features

- **User Management**: Add, view, and manage users.
- **Role Management**: Assign roles to users and define access levels.
- **Permission Management**: Set permissions for roles to control access to various resources.
- **Tab-based Navigation**: Seamlessly switch between Users, Roles, and Permissions, with tabs that are dynamically rendered based on user permissions.
- **Login System**: Secure authentication with role-based access on login.
- **Responsive Design**: Works across devices with a fully responsive design powered by Tailwind CSS.

## Technologies Used

- **React.js**: The frontend framework used for building the interactive UI.
- **Tailwind CSS**: Utility-first CSS framework for styling.
- **React Router**: For seamless page navigation.
- **Font Awesome**: Icons for easy identification and UI enhancement.
- **Context API**: For managing authentication state and user permissions globally.
  
## Roles

The system includes multiple predefined roles:

- **Admin**: Full access to manage users, roles, and permissions.
- **Editor**: Limited access, can manage roles but not users or permissions.
- **Viewer**: Read-only access, can view users and roles.

## Project Deployment

The Role-Based Access System has been deployed and is live at:

[Deployed Project - Role-Based Access System](https://rolebasedaccess.netlify.app/)

Visit the link above to interact with the live version of the application.

## Setup Instructions

To run the project locally:

1. Clone the repository:
   ```bash
   git clone https://github.com/Farru049/Role-Based-Access-Control.git
  1. Install the dependencies:
    npm install
  2. Run the development server:
    npm start

Contributing

Feel free to fork the repository and contribute by creating issues or pull requests.

License

This project is licensed under the MIT License.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors