An open API service indexing awesome lists of open source software.

https://github.com/maneesha-raj/rbac_web_app


https://github.com/maneesha-raj/rbac_web_app

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# 🌟 RBAC_UI

## 📄 PROJECT OVERVIEW

**RBAC_UI** (Role-Based Access Control User Interface) is a secure and modern web application designed to manage user roles and permissions within an organization. Built using the MERN stack, the app ensures seamless functionality, empowering Admins to manage users and their roles efficiently.

---

## 🔑 FEATURES

### 👤 User Features
- **Dashboard:** View a centralized list of all users and their details.
- **User Actions:** View roles and status (Active/Inactive) for transparency.

### 🛠️ Admin Features
- **Add Users:** Add new users with a role (Admin, Editor, or Viewer) and default status.
- **Edit Users:** Update user details, including name, email, role, or status.
- **Delete Users:** Remove inactive or unnecessary users from the system.
- **Role-Based Access Control:** Assign predefined roles to ensure secure access.

---

## ⚙️ TECHNOLOGIES USED

### **Frontend:**
- React.js
- Tailwind CSS
- React Router

### **Backend:**
- Node.js
- Express.js
- Mongoose

### **Database:**
- MongoDB

---

## 🛠️ OTHER TOOLS

- **JWT (JSON Web Tokens):** Securely handle user sessions and authentication.
- **RBAC:** Enforce role-based access and user permissions.

---

## 🧑‍💻 USER ROLES AND PERMISSIONS

| **Role** | **Permissions** |
|------------|------------------------------------------------------------------------|
| **Admin** | Add, edit, delete users, assign roles, and manage application settings |
| **Editor** | View and update user information |
| **Viewer** | View dashboard data without modification access |

---

## 🛡️ SECURITY

- **JWT Authentication:** Secures all sessions with unique tokens.
- **RBAC Enforcement:** Restricts features and functionality based on roles.
- **Environment Variables:** Stores sensitive data securely in a `.env` file.

---

## 📌 FUTURE UPGRADES

- **Search and Filtering:** Enhance user lookup with advanced search options.
- **Activity Logs:** Track user and admin actions for auditing purposes.
- **Email Notifications:** Notify users of role changes or activity updates.
- **Analytics Dashboard:** Gain insights into user activity and system health.

---

## 🚀 GETTING STARTED

### **Prerequisites**
1. Install Node.js.
2. Ensure MongoDB is installed and running locally or use a cloud instance.

### **Setup Steps**

1. **Clone the Repository:**
```bash
git clone (https://github.com/Maneesha-Raj/RBAC_WEB_APP.git)
cd RBAC_UI