⚖️ AI Regulation & Ethics

Right to Informational Self-Determination

The right to decide for oneself how one's personal information is processed

Detailed Explanation

The Right to Informational Self-Determination is a fundamental right that allows individuals to decide for themselves when, where, and how their personal information is collected and processed. The GDPR gives this concrete form as the rights of data subjects (Chapter III, Articles 12-23).

The data subject rights guaranteed by the GDPR are 1) the right to be informed (Articles 13-14), 2) the right of access (Article 15), 3) the right to rectification (Article 16), 4) the right to erasure / right to be forgotten (Article 17), 5) the right to restriction of processing (Article 18), 6) the right to data portability (Article 20), 7) the right to object (Article 21), and 8) rights related to automated decision-making (Article 22).

Particularly important in AI systems is Article 22, 'the right not to be subject to a decision based solely on automated processing, including profiling.' Data subjects have the right not to be subject to purely automated decision-making that produces legal effects or similarly significantly affects them.

The Constitutional Court of Korea also recognized the right to informational self-determination as a constitutional fundamental right in 2005, and Article 4 of the Personal Information Protection Act specifies the rights of data subjects.

Code Example

# 정보주체 권리 행사 관리 시스템 (DSR - Data Subject Request)
from dataclasses import dataclass, field
from typing import List, Dict, Optional
from datetime import datetime, timedelta
from enum import Enum
import json

class DSRType(Enum):
    """정보주체 권리 유형 (GDPR Chapter III)"""
    ACCESS = "access"                    # 열람권 - Article 15
    RECTIFICATION = "rectification"      # 정정권 - Article 16
    ERASURE = "erasure"                  # 삭제권 - Article 17
    RESTRICTION = "restriction"          # 처리제한권 - Article 18
    PORTABILITY = "portability"          # 이동권 - Article 20
    OBJECTION = "objection"              # 반대권 - Article 21
    AUTOMATED_DECISION = "automated"     # 자동화 의사결정 권리 - Article 22

class DSRStatus(Enum):
    RECEIVED = "received"
    IDENTITY_VERIFIED = "identity_verified"
    IN_PROGRESS = "in_progress"
    COMPLETED = "completed"
    REJECTED = "rejected"
    EXTENDED = "extended"

@dataclass
class DataSubjectRequest:
    """정보주체 권리 요청"""
    id: str
    request_type: DSRType
    data_subject_id: str
    email: str
    received_at: datetime
    details: str

    status: DSRStatus = DSRStatus.RECEIVED
    deadline: datetime = None
    extended: bool = False
    rejection_reason: Optional[str] = None
    response: Optional[Dict] = None

    def __post_init__(self):
        # GDPR Article 12: 1개월 내 응답 의무
        self.deadline = self.received_at + timedelta(days=30)

    def extend_deadline(self, reason: str):
        """복잡한 요청 시 2개월 연장 (총 3개월)"""
        if not self.extended:
            self.deadline = self.received_at + timedelta(days=90)
            self.extended = True
            self.status = DSRStatus.EXTENDED
            return {"extended": True, "new_deadline": self.deadline, "reason": reason}
        raise ValueError("이미 연장된 요청입니다")

@dataclass
class DSRHandler:
    """정보주체 권리 요청 처리기"""
    organization: str
    requests: List[DataSubjectRequest] = field(default_factory=list)

    # Article 17 삭제 예외 사유
    ERASURE_EXCEPTIONS = [
        "freedom_of_expression",       # 표현의 자유
        "legal_obligation",            # 법적 의무
        "public_interest_health",      # 공중보건 공익
        "archiving_purposes",          # 기록보존 목적
        "legal_claims",                # 법적 청구권 행사/방어
    ]

    def submit_request(self, request: DataSubjectRequest) -> Dict:
        """권리 요청 접수"""
        self.requests.append(request)
        return {
            "request_id": request.id,
            "type": request.request_type.value,
            "received": request.received_at.isoformat(),
            "deadline": request.deadline.isoformat(),
            "message": f"요청이 접수되었습니다. {request.deadline.strftime('%Y-%m-%d')}까지 응답드리겠습니다."
        }

    def handle_access_request(self, request_id: str, user_data: Dict) -> Dict:
        """열람권 처리 (Article 15)"""
        request = self._get_request(request_id)
        request.status = DSRStatus.IN_PROGRESS

        # Article 15에 따른 필수 제공 정보
        response = {
            "request_id": request_id,
            "data_subject": request.data_subject_id,
            "processing_purposes": user_data.get("purposes", []),
            "categories_of_data": list(user_data.get("data", {}).keys()),
            "recipients": user_data.get("recipients", []),
            "retention_period": user_data.get("retention", "처리 목적 달성 시까지"),
            "data_source": user_data.get("source", "정보주체 직접 제공"),
            "automated_decision_making": user_data.get("automated_decision", False),
            "rights_information": {
                "rectification": "부정확한 정보 정정 요청 가능",
                "erasure": "일정 조건 하에 삭제 요청 가능",
                "restriction": "처리 제한 요청 가능",
                "objection": "처리에 반대할 권리",
                "portability": "기계판독 가능 형식으로 데이터 수령 가능",
                "complaint": "감독기관에 민원 제기 가능"
            },
            "personal_data_copy": user_data.get("data", {})
        }

        request.response = response
        request.status = DSRStatus.COMPLETED
        return response

    def handle_erasure_request(self, request_id: str, check_exceptions: bool = True) -> Dict:
        """삭제권/잊힐 권리 처리 (Article 17)"""
        request = self._get_request(request_id)
        request.status = DSRStatus.IN_PROGRESS

        if check_exceptions:
            # 삭제 예외 사유 확인 필요
            exception_check = {
                "legal_obligation": self._check_legal_retention(request.data_subject_id),
                "legal_claims": self._check_ongoing_disputes(request.data_subject_id),
            }

            if any(exception_check.values()):
                blocking_exceptions = [k for k, v in exception_check.items() if v]
                request.status = DSRStatus.REJECTED
                request.rejection_reason = f"삭제 예외 사유 해당: {blocking_exceptions}"
                return {
                    "request_id": request_id,
                    "granted": False,
                    "reason": request.rejection_reason,
                    "legal_basis": "GDPR Article 17(3)"
                }

        # 삭제 수행
        deletion_result = self._perform_deletion(request.data_subject_id)

        request.status = DSRStatus.COMPLETED
        request.response = deletion_result
        return {
            "request_id": request_id,
            "granted": True,
            "deleted_systems": deletion_result["systems"],
            "deletion_date": datetime.now().isoformat(),
            "note": "백업 데이터는 보관 정책에 따라 90일 후 자동 삭제됩니다."
        }

    def handle_portability_request(self, request_id: str, user_data: Dict, format: str = "json") -> Dict:
        """이동권 처리 (Article 20)"""
        request = self._get_request(request_id)

        # 기계판독 가능한 구조화된 형식으로 제공
        portable_data = {
            "export_date": datetime.now().isoformat(),
            "data_subject": request.data_subject_id,
            "format": format,
            "data": user_data
        }

        if format == "json":
            export = json.dumps(portable_data, ensure_ascii=False, indent=2)
        else:
            # CSV 등 다른 형식 지원 가능
            export = portable_data

        request.status = DSRStatus.COMPLETED
        return {
            "request_id": request_id,
            "format": format,
            "download_link": f"/api/dsr/{request_id}/download",
            "expires_in": "7일"
        }

    def handle_automated_decision_request(self, request_id: str, decision_info: Dict) -> Dict:
        """자동화 의사결정 관련 권리 (Article 22)"""
        request = self._get_request(request_id)

        response = {
            "request_id": request_id,
            "automated_processing": True,
            "logic_involved": decision_info.get("logic", "기계학습 기반 점수 산정"),
            "significance": decision_info.get("significance", "서비스 제공 여부 결정에 영향"),
            "envisaged_consequences": decision_info.get("consequences", []),
            "human_review_available": True,
            "how_to_request_review": "고객센터를 통해 인간 검토를 요청하실 수 있습니다.",
            "right_to_contest": "결정에 이의를 제기하실 권리가 있습니다."
        }

        request.status = DSRStatus.COMPLETED
        request.response = response
        return response

    def _get_request(self, request_id: str) -> DataSubjectRequest:
        for req in self.requests:
            if req.id == request_id:
                return req
        raise ValueError(f"요청을 찾을 수 없습니다: {request_id}")

    def _check_legal_retention(self, user_id: str) -> bool:
        # 법적 보관 의무 확인 로직
        return False

    def _check_ongoing_disputes(self, user_id: str) -> bool:
        # 진행 중인 분쟁 확인 로직
        return False

    def _perform_deletion(self, user_id: str) -> Dict:
        # 실제 삭제 수행 로직
        return {"systems": ["main_db", "analytics", "crm"], "records_deleted": 150}

# 사용 예시
handler = DSRHandler(organization="KAITRUST Corp")

# 열람 요청 접수
access_request = DataSubjectRequest(
    id="DSR-2024-001",
    request_type=DSRType.ACCESS,
    data_subject_id="USER-12345",
    email="user@example.com",
    received_at=datetime.now(),
    details="보유 중인 모든 개인정보 열람 요청"
)

result = handler.submit_request(access_request)
print(f"접수 완료: {result['message']}")

How It's Said in Practice

DPO: "We had over 50 DSRs this month. In particular, Article 22 requests related to AI recommendations have increased. Please prepare an algorithm explanation template."

Dev Team: "Meaningful explanation of the logic is the key. We'll build an API that generates explanations based on SHAP values showing which features influenced the decision."

Interviewer: "Why is the right to informational self-determination important in AI systems?"

Candidate: "Because an AI's automated decision-making can have legal effects or significant impacts on individuals. GDPR Article 22 guarantees data subjects the right to refuse purely automated decisions, the right to request human intervention, and the right to receive a meaningful explanation. To implement this, XAI (explainable AI) technology is essential."

Take a mock interview on this topic → WIA SOOM AI Interview · Start for free

DPO: "The data portability API only supports JSON as a data format. We should add CSV too so that data subjects can easily transfer their data to another service."

Developer: "The purpose of Article 20 is interoperability, so you're right. We'll add CSV and XML formats and set Content-Disposition in the response headers so that they download immediately."

Cautions

Learn More