-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
area:storiesIssues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)Issues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)backendWork related to APIs, services, or controllers.Work related to APIs, services, or controllers.javaPull requests that update java codePull requests that update java coderoadmapPlanned feature or strategic goal from the project roadmap.Planned feature or strategic goal from the project roadmap.securitySecurity-related changes, fixes, or enhancements.Security-related changes, fixes, or enhancements.type:featureNew feature related to backend types, DTOs, or models.New feature related to backend types, DTOs, or models.
Milestone
Description
Summary
Map AccessDeniedException to 403 FORBIDDEN with { error: "FORBIDDEN", message: "..." } in GlobalExceptionHandler.
Motivation / Problem
Ensure consistent error envelopes for authorization failures on delete.
Acceptance Criteria
- Add
@ExceptionHandler(AccessDeniedException.class)mapping to 403 codeFORBIDDEN. - No change to existing codes or mappings.
- Negative-path tests assert correct envelope.
Target Release
v0.1.2
Notes / Links
docs/weekly-plan/week-5/week-5-plan-backend.md
docs/weekly-plan/week-5/week-5-plan-issues.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:storiesIssues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)Issues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)backendWork related to APIs, services, or controllers.Work related to APIs, services, or controllers.javaPull requests that update java codePull requests that update java coderoadmapPlanned feature or strategic goal from the project roadmap.Planned feature or strategic goal from the project roadmap.securitySecurity-related changes, fixes, or enhancements.Security-related changes, fixes, or enhancements.type:featureNew feature related to backend types, DTOs, or models.New feature related to backend types, DTOs, or models.