ES /docs

Cupix::Errors::PermissionDenied: Permission denied to publish

Service
cupixworks-api
Occurrences
12
Status
Ignored
Confidence
85%
Actionability
52%
Cluster ID
c99b03ce-e345-42d6-817a-6caa0fbad2e3
First Seen
2025-02-24 05:21 UTC
Last Seen
2026-07-27 01:09 UTC
Actions
현재 상태 ignored 에서는 실행할 액션이 없습니다.

Cupix::Errors::PermissionDenied: Permission denied to publish

What Happened#

cupixworks-api (tesla) 에서 편집 권한이 없는 사용자가 리소스 publish 엔드포인트(PUT /api/v1/captures/{id}/publish 등)를 호출하자 Pundit 정책 검사가 실패하여 Cupix::Errors::PermissionDenied (PERM10000) 가 발생했다. 이 예외는 client_error_controller.rb 에서 HTTP 403 으로 정상 매핑되며, 서버 결함이 아니라 예상된 인가 실패다. retention 창(now-14d) 내 26건 중 대부분이 dev/qa 테스트 트래픽(tg-not-editing 팀)이었다.

Quick Facts#

Field Value
exception.class Cupix::Errors::PermissionDenied
exception.message Permission denied to publish
error.code PERM10000
top_frame app/repositories/concerns/publishable_repository.rb:5
http.status 403
runtime Ruby on Rails (tesla)
env dev / qa / production, region us-west-2

Affected Teams#

로그 team.domain 기준 분포 (now-14d, 26건):

Team / Domain Error Count Impact
tg-not-editing 16 편집 권한 없는 QA 테스트 팀 — 인가 거부 테스트로 추정
hani 6 비편집 사용자 publish 시도 → 403
ikukbo 2 비편집 사용자 publish 시도 → 403
cupix 1 비편집 사용자 publish 시도 → 403
qatest 1 QA 테스트 트래픽

환경 분포: dev 18, qa 6, production 2.

Timeline#

  1. 2025-02-24 14:21 KST — 최초 발생 (first_seen, ET 집계 기준)
  2. 2026-07-22 12:48 KST — retention 창 내 첫 로그 확인 (captures/78908/publish, team tg-not-editing)
  3. 2026-07-27 10:09 KST — 클러스터 last_seen
  4. 2026-08-04 16:06 KST — retention 창 내 최신 발생 (여전히 진행 중)

Scoring#

Confidence 85% · Actionability 52%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 18 code refs, 3 log queries
Code path explicitness 3/3 18 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 15 file(s)
Single repo 1/3 2 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