|
|
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 |
|
|
|
fb16da91e2
|
Merge pull request #24 from RecentRunner/Pets
Pets CRUD
|
2026-02-11 10:10:36 -07:00 |
|
augmentedpotato
|
bcb383c40a
|
Pets CRUD
|
2026-02-11 08:40:31 -07:00 |
|
|
|
12020a2feb
|
Fixed DB connection and java version issue
|
2026-02-10 16:35:49 -07:00 |
|
Alex
|
b53dcf10a7
|
Added CRUD to productSuppliers
-add CRUD to productSupplier and changed sqlDatabase so cost is in productSuppliers table
|
2026-02-04 19:05:41 -07:00 |
|
Alex
|
07a6d3bfc6
|
Added CRUD to Products and added Validation to dialog
|
2026-02-03 20:02:46 -07:00 |
|
Alex
|
310b66329f
|
Added CRUD to Suppliers
|
2026-02-01 18:43:35 -07:00 |
|
Alex
|
d11f8070ca
|
Fixed Views for Product and Suppliers
|
2026-02-01 14:56:00 -07:00 |
|
Alex
|
47fe06a5c3
|
Added connection to database
- displayed products and suppliers to table but still incomplete
|
2026-01-31 17:52:30 -07:00 |
|
augmentedpotato
|
cb6a389a6a
|
initial commit
|
2026-01-30 18:54:57 -07:00 |
|
Alex
|
5f42633350
|
Added UI
|
2026-01-28 18:48:36 -07:00 |
|