Harkamal Randhawa a12af3f0ee Implement RBAC with login screen for admin and staff roles
- Add Role enum (ADMIN, STAFF) and UserSession singleton
- Add User model and UserDB with SHA2-256 authentication
- Add login screen (login-view.fxml + LoginController)
- Update main-layout-view.fxml: dynamic username/role labels, logout button
- Update MainLayoutController: hide Inventory/Suppliers/Product-Suppliers for STAFF, show username/role, handle logout
- Update PetShopApplication to start with login screen and initialize users table
- Update module-info.java to open/export auth package
2026-02-21 13:27:50 -07:00
2026-01-28 18:48:36 -07:00
2026-02-11 08:40:31 -07:00
2026-01-28 18:48:36 -07:00
2026-01-28 18:48:36 -07:00
Description
No description provided
14 MiB
Languages
Java 88.6%
JavaScript 11.2%
CSS 0.2%