Conversation
Fix/permission ispublic
fix : 배포 문제 SKIP_TRAFFIC_DEPLOY=true으로 traffic 부분 skip
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThe changes introduce a privacy restoration mechanism where disabling a member's privacy permission ( Changes
Sequence DiagramsequenceDiagram
actor Client
participant Service as MemberPermissionServiceImpl
participant Mapper as FamilyLineMapper
participant DB as Database
Client->>Service: updateMemberPermission(permissionId=2, isEnable=false, lineId)
Service->>Service: permissionLineMapper.upsert(...)
alt permissionId == 2 AND isEnable == false
Service->>Mapper: forcePublicByLineId(lineId)
Mapper->>DB: UPDATE FAMILY_LINE SET is_public=TRUE WHERE line_id=?
DB-->>Mapper: Success
Mapper-->>Service: void
else other permissions
Note over Service: No restoration
end
Service-->>Client: Updated permission state
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~30-35 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
개요
관련 BackLog
Resolves: (Backlog Number, ...)
PR 유형
PR Checklist
Summary by CodeRabbit
New Features
Chores
Tests