Skip to content

1.Overview

Collins Dada edited this page May 4, 2025 · 1 revision

What is Class-Guard?

Class-Guard is a role-based access control (RBAC) application built for educational institutions and classroom environments. It provides a clean separation between different user roles like Admin, Teacher, and Student, ensuring that users can only access the parts of the app that match their assigned privileges.

It leverages the power of [Permit.io](https://www.permit.io/) to manage and enforce permissions dynamically without hardcoding logic, making the system scalable and secure.

This project was created as part of the Permit.io RBAC Challenge.


Tech Stack

Layer Technology
Frontend React.js (JSX)
Backend Node.js, Express.js
RBAC Permit.io (Cloud PDP)
Hosting Netlify (Frontend)
Development Kali Linux, Git, GitHub

🛠 Why Permit.io?

Instead of manually coding permission logic for every route or component, Permit.io allows us to:

  • Dynamically assign roles via a clean UI
  • Sync users to a centralized policy backend
  • Handle real-time permission checks with permit.check()
  • Use the hosted PDP to evaluate policies securely

Permit.io removes the burden of custom RBAC infrastructure and gives us audit-ready, production-grade access control out of the box.


User Roles

Role Access Summary
Admin Full control over dashboards and permission logic
Teacher Access to classroom management tools
Student Limited access to course content and submissions

Clone this wiki locally