Lab 06: RBAC Implementation Report

Back to Lab 06 Dashboard


1. Introduction

This lab implements Role-Based Access Control (RBAC) for Pine Valley Furniture web interfaces built in previous labs. The solution defines role metadata in the database, authenticates users by role, and enforces page-level access controls.

2. Part (a): Database Schema Enhancement

The RBAC schema is implemented in rbac_schema.sql with the following changes:

3. Part (b): Interface Code Updates

The following interfaces were updated to enforce RBAC behavior:

4. Part (c): Test Cases

RBAC test cases are documented in rbac_test_cases.md. They verify:

5. Summary

This implementation delivers a repeatable RBAC setup with database-level role modeling, secure login handling, and interface-level authorization checks for key workflows.