Cupix::Errors::PermissionDenied: Permission denied
Service
cupixworks-api
Occurrences
20
Status
Ignored
Confidence
85%
Actionability
52%
Cluster ID
04316bb6-38d2-4b2d-ab01-0c012e33bedb
First Seen
2025-01-21 03:16 UTC
Last Seen
2026-07-29 04:07 UTC
Actions
현재 상태 ignored 에서는 실행할 액션이 없습니다.
Cupix::Errors::PermissionDenied: Permission denied
What Happened#
cupixworks-api에서 Cupix::Errors::PermissionDenied (code PERM10000) 예외가 반복 발생하며 Error Tracking 이슈로 묶였다. 최근 로그를 확인하면 거의 전부가 GET /api/v1/admin/teams/{id} (Api::V1::Admin::TeamsController#show) 요청에서 발생하며, API가 권한이 없는 요청자에게 HTTP 403을 정상 반환한 케이스다. 로그 레벨은 모두 info이고 status:error 로그는 존재하지 않는다. 이는 인가(authorization) 정책이 의도대로 동작한 결과이며 코드 결함이 아니다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | Cupix::Errors::PermissionDenied |
| exception.message | Permission denied |
| error.code | PERM10000 |
| top_frame | app/repositories/base_repository.rb:359-360 |
| http_status | 403 |
| log_level | info (error 로그 없음) |
| env | production |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
admin (/api/v1/admin/teams/*) |
대다수 (샘플 50건 중 45+건) | 권한 없는 team 상세 조회 요청이 403으로 정상 거부됨. 사용자 데이터/상태 영향 없음 |
| facilities / captures publish | 각 1건 | trash/publish/unpublish 시 권한 없는 요청 403 거부 |
Timeline#
- 2025-01-21 12:16 KST — 최초 발생 (
first_seen). Representative Error 는 이 시점의 오래된 샘플. - 2026-07-29 13:07 KST — 클러스터 기준 최근 발생 (
last_seen). - 2026-08-04 (RCA 시점) — 최근 14일 로그에서도 동일 패턴 지속 확인 (
GET /api/v1/admin/teams/{id}403 반복).
Scoring#
Confidence 85% · Actionability 52%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 11 code refs, 4 log queries |
| Code path explicitness | 3/3 | 11 file:line refs |
| Log evidence | 3/3 | section, query, pattern |
| RCA structure | 3/3 | 3/3 sections |
| Revision history | 0/3 | 0 revision(s) |
| Agent execution | 3/3 | success |
Actionability#
| Dimension | Score | Detail |
|---|---|---|
| Fix complexity | 5/5 | trivial |
| Affected files | 1/5 | 11 file(s) |
| Single repo | 1/3 | 4 service(s) |
| Immediate actions | 0/3 | absent |
| Testability | 0/3 | no test info |
| External dependency | 3/3 | no external deps |
| Data migration | 3/3 | no migration |