Add RBAC integration tests for endpoint authorization #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
RBAC endpoint rules are defined in SecurityConfig (
a4de2a7) but lack dedicated integration tests verifying that role enforcement works end-to-end.Test Cases
Implementation
Extend or create a new
SecurityFilterITthat creates tokens with specific roles viaJwtService.createAccessToken(subject, group, roles)and verifies HTTP status codes for each endpoint category.