Use only the Academy Lab on 127.0.0.1:5177. Do not copy these tests to a public system without explicit written authorization.
Test the secure admin operation
Choose Admin-only operations. Compare Anonymous, User A, User B, and Admin against the secure audit endpoint.
GET /api/admin/auditOnly Admin receives 200; users receive 403 and Anonymous receives 401.
Prove vertical BFLA
Change to the admin-insecure route and choose Function-level authorization/BFLA. Run the same matrix.
GET /api/admin-insecure/auditOrdinary users receive the admin-only secret with 200.
Test missing authentication
Choose Missing authentication and run the matrix without any stored identity against the public profile route.
GET /api/profile-public?user_id=user_bAnonymous receives user_b’s private email with 200.
Prove it before moving on.
You have three separate conclusions: expected vertical control, confirmed BFLA, and confirmed missing authentication.
