Files
Gnuboard7/plugins/_bundled/sirsoft-verification_nhnkcp/editor-spec.json
T
HeuJung bd215bc586 feat(identity): NHN KCP 휴대폰 본인확인 플러그인 추가
메일 인증 대신 휴대폰 본인확인을 쓸 수 있게 하는 플러그인을 추가한다.
가입·비밀번호 재설정·성인인증 등 코어 IDV 가 강제하는 모든 지점에서 동작하며,
테스트 모드로 계약 없이 전 흐름을 확인할 수 있다.

구현·검수 과정에서 드러난 저장소 전역 결함을 함께 처리했다.

- 외래키 컬럼의 한국어 comment 가 방출되지 않던 문제 (소스 38건 교정 +
 기설치본 백필 업그레이드 스텝 7종). ->comment 를 ->constrained 뒤에
 체인하면 예외 없이 통과하면서 comment 가 조용히 사라진다
- 로케일 전환 후 확장 액션 핸들러가 소실되던 문제 (플러그인 3종에
 재등록 진입점 노출)
- 본인인증 상태 폴링 응답이 누적 시도 횟수를 함께 내보내던 문제
- 인증 안내 문구와 실제 진행 방식의 폭 경계 불일치 (768~1023px).
 엔진과 같은 값을 같은 방법으로 읽도록 교정
- transition_overlay_target 이 replace 없이 무효이던 관리자 목록 40곳.
 로딩 표시가 나오지 않아도 경고가 남지 않아 화면을 봐야만 알 수 있었다

두 인증 플러그인의 코어 최소 요구 버전을 7.0.6 으로 올린다. 운영 모드
자격증명 필수 검사가 7.0.6 의 설정 저장 검증 표면에 의존하며, 그보다 낮은
코어에서는 그 검사가 조용히 통과해 빈 자격증명으로 저장할 수 있었다.

재발 차단으로 정적 검사 룰 4종을 신설하고, 검사 도구가 미커밋 신규 확장을
"검사 파일 0" 으로 통과시키던 사각을 함께 막았다.
2026-07-31 00:32:46 +09:00

149 lines
5.6 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "레이아웃 편집기 스펙 — NHN KCP 휴대폰 본인확인 플러그인. 내정보 레이아웃의 nhnkcpRecord 데이터소스 응답 shape 를 실제 바인딩 필드(data.{method,verified_at,name_masked,birthday_masked,phone_masked,is_adult,is_adult_known,is_foreigner}) 기준으로 작성. 카드는 is_adult × is_adult_known 으로 4분기하므로 생년월일 미제공/미인증 변종을 states 로 함께 제공한다.",
"pluginId": "sirsoft-verification_nhnkcp",
"version": "1.0.0",
"description": "NHN KCP 휴대폰 본인확인 플러그인 레이아웃 편집기 샘플 데이터.",
"sampleData": {
"byDataSourceId": {
"nhnkcpRecord": {
"data": {
"method": "NHN KCP 휴대폰 본인확인",
"verified_at": "2026-07-28 14:32:09",
"name_masked": "김*준",
"birthday_masked": "1990-**-**",
"phone_masked": "010-****-6789",
"is_adult": true,
"is_adult_known": true,
"is_foreigner": false
}
}
}
},
"states": {
"comment": "내정보 카드 변종 + 플러그인 설정 변종 + 본인확인 안내 창 상태.",
"groups": [
{
"comment": "내정보 본인확인 카드. 카드는 nhnkcpRecord.data 유무로 인증/미인증을, is_adult_known 으로 성인 여부 판정 가능/불가를 분기한다. is_adult_known=false 는 인증기관 응답에 생년월일이 없던 경우로 「제공되지 않음 / 확인 불가」를 표시한다.",
"scope": {
"kind": "route",
"match": "*/mypage/profile"
},
"items": [
{
"id": "nhnkcp_record_verified",
"label": "$t:sirsoft-verification_nhnkcp.editor.state.record_verified",
"default": true,
"sampleDataOverrides": {
"byDataSourceId": {
"nhnkcpRecord": {
"data": {
"method": "NHN KCP 휴대폰 본인확인",
"verified_at": "2026-07-28 14:32:09",
"name_masked": "김*준",
"birthday_masked": "1990-**-**",
"phone_masked": "010-****-6789",
"is_adult": true,
"is_adult_known": true,
"is_foreigner": false
}
}
}
}
},
{
"id": "nhnkcp_record_birthday_missing",
"label": "$t:sirsoft-verification_nhnkcp.editor.state.record_birthday_missing",
"sampleDataOverrides": {
"byDataSourceId": {
"nhnkcpRecord": {
"data": {
"method": "NHN KCP 휴대폰 본인확인",
"verified_at": "2026-07-29 01:45:36",
"name_masked": "김*준",
"birthday_masked": "",
"phone_masked": "010-****-6789",
"is_adult": false,
"is_adult_known": false,
"is_foreigner": false
}
}
}
}
},
{
"id": "nhnkcp_record_none",
"label": "$t:sirsoft-verification_nhnkcp.editor.state.record_none",
"sampleDataOverrides": {
"byDataSourceId": {
"nhnkcpRecord": {
"data": null
}
}
}
}
]
},
{
"comment": "인증 플러그인 설정. _local.form.is_test_mode 로 운영모드 경고(live_mode_warning)를 if 분기한다.",
"scope": {
"kind": "route",
"match": "*/admin/plugins/sirsoft-verification_nhnkcp/settings"
},
"items": [
{
"id": "test_mode_on",
"label": "$t:sirsoft-verification_nhnkcp.editor.state.test_mode_on",
"default": true,
"initialState": {
"local": {
"form": {
"is_test_mode": true
}
}
}
},
{
"id": "test_mode_off",
"label": "$t:sirsoft-verification_nhnkcp.editor.state.test_mode_off",
"initialState": {
"local": {
"form": {
"is_test_mode": false
}
}
}
}
]
},
{
"comment": "본인인증 모달(identity-challenge-modal) 내 identity_provider_ui:provider EP 주입 조각. 모달 내부 게이트(provider_id !== 'g7:core.mail')와 조각 루트 if(provider_id === 'nhnkcp')를 함께 연다. default 항목은 템플릿 _user_base 그룹이 소유(concat — 중복 default 금지).",
"scope": {
"kind": "base",
"match": "_user_base"
},
"items": [
{
"id": "identity_challenge_nhnkcp",
"label": "$t:sirsoft-verification_nhnkcp.editor.state.identity_challenge_nhnkcp",
"initialState": {
"global": {
"identityChallenge": {
"provider_id": "nhnkcp",
"purpose": "signup",
"providerInProgress": false,
"public_payload": {
"call_url": "https://testcert.kcp.co.kr/certGateway.do",
"reg_cert_key": "SAMPLECERTKEY001",
"is_test_mode": true
}
}
}
}
}
]
}
]
}
}