Phase C · Application Architecture
Hero Screen — Interactive Mockup
SCR-PRV-001DSR Request Queue
agent:aib-identityDPO
SIM-DSR-002 erasureD-18 · 2026-06-29
SIM-DSR-003 rectificationclosed 2026-06-08
SIM-DSR-004 portabilityD+3 · 2026-06-08
30-day clock — GDPR Art. 12(3)
Requests (4)
RequestTypeClientReceivedDueStatus
SIM-DSR-002erasureSIM-C-006 Alpenrose Stiftung2026-05-302026-06-29in_progress
SIM-DSR-004portabilitySIM-C-003 Petra Keller2026-05-092026-06-08sla_breached
SIM-DSR-001accessSIM-C-002 Hans Schneider2026-04-032026-05-03completed
SIM-DSR-003rectificationSIM-C-001 Anna Müller2026-06-052026-07-05completed
Selected Request — SIM-DSR-002 · erasure (GDPR Art. 17)
identity verified
Client
SIM-C-006 Alpenrose Stiftung
Channel
email
Handled By
agent:aib-identity
Scope (agent assessment)
Marketing data: deletion approved. KYC file + transaction records: retention override applies. Consent SIM-CON-005 (tax_reporting_fatca_crs, legal_obligation) unaffected.
Received
2026-05-30
Deadline (30d)
2026-06-29
Erasure blocked by retention law: client.retain_until 2035-06-20 — BankG Art. 47 (10y banking records) and SPG Art. 22 override Art. 17. Proposed outcome: partially_fulfilled with rejection_basis Art. 17(3)(b).
Extension requires documented justification, notified before day 30 (Art. 12(3)).
Simulation — mock data (SIM-*)Agents propose · humans dispose (P11)

SCR-PRV — Data Privacy (GDPR/DSG) Screens

Version: 1.0 · Date: 2026-06-11 · Owner: DPO Related: PROC-012 (Client Exit & Retention, purge interface), aib-identity-service-api, aib-audit-service-api Primary agent(s): agent:aib-identity · Human roles: DPO, Compliance Officer (support), CISO/Incident Manager (breach), COO delegate (RoPA data owners)

Function Overview

Data Privacy implements GDPR as applicable in Liechtenstein (DSG; supervisory authority DSS Liechtenstein): data subject rights with the 30-day response deadline (GDPR Art. 12(3), extendable +60 days with notification by day 30), lawful-basis and consent management, data protection impact assessments for high-risk processing (Art. 35–36, with FMA/DSS prior consultation where residual risk stays high), breach notification within 72 hours (Art. 33) and data-subject notification on high risk (Art. 34), and the records of processing activities (Art. 30) for both controller and processor relationships. PSD2 third-party-provider consents (AIS/PIS/CBPII, eIDAS certificates, 90-day SCA refresh per EBA GL) are managed here because they are client-consent artefacts.

agent:aib-identity processes the mechanics via the aib-identity service: it logs DSR intake, computes deadlines, assembles data exports, syncs consent state from channels, monitors TPP access counters, and drafts breach timelines. The DPO disposes (P11): every DSR response, DPIA opinion, breach notification, and RoPA review carries a human DPO decision, logged in dpo_activity_log — which also tracks DPO independence (no conflicting instructions, GDPR Art. 38).

Screen Map

SCR-PRV-001 — DSR Request Queue

Purpose: Manage data-subject-rights requests end-to-end against the GDPR Art. 12(3) 30-day SLA, including identity verification, extension handling, and rejection bases. Personas: DPO (decision), Compliance Officer (identity verification support)

Data Sources

TableRole in screen
dsr_requestprimary record — type, deadlines, status, response
clientsubject identity and relationship state (incl. retain_until for erasure conflicts)
consent_recordobjection/withdrawal context
dpo_activity_logoversight entries (activity_type = dsr_oversight, linked via dsr_request_id)

CRUD Matrix

Tableagent:aib-identity (via API)DPOCompliance Officer
dsr_requestC R U (intake, compute deadline_30d, assemble export)R U (decide, response_sent_at, rejection_basis)R U (identity verification step)
clientRRR
consent_recordR U (apply withdrawal)RR
dpo_activity_logC R (auto-log)C R U (own entries)R

(No D — DSR records are themselves accountability evidence; retention per documented schedule.)

Key Flows

  1. Agent logs the request from any channel, classifies request_type, computes deadline_30d = received_at + 30 calendar days, and moves status to identity_verification.
  2. Identity verified → agent assembles the response package (Art. 15 access: data export across owning services; Art. 20 portability: structured format); DPO reviews before anything leaves the bank.
  3. Extension: for complex requests the DPO sets extended = 1 with extension_reason; extension_notified_at must be before day 30 (Art. 12(3)); deadline_extended capped at +60 days.
  4. Erasure (Art. 17) collides with retention law: the screen cross-checks client.retain_until (SPG Art. 22 10-year retention, BankG Art. 47 banking records) and proposes rejected or partially_fulfilled with rejection_basis citing Art. 17(3) (legal obligation); DPO decides.
  5. Each disposed request writes a dpo_activity_log entry (dsr_oversight) with conclusion and any follow-up.

States & Gates

  • dsr_request.status: open → identity_verification → in_progress → completed / rejected / partially_fulfilled.
  • SLA timers: 30-day clock dominant in queue ordering; amber at day 20, red at day 27; extension notification gate hard-stops at day 30.
  • Decision gate: response release requires DPO action; the agent can assemble but never send (P11).

Validation

  • dsr_request.request_type CHECK: 'access','rectification','erasure','restriction','portability','objection','objection_to_automated_decision' (GDPR Art. 15–22).
  • dsr_request.deadline_30d NOT NULL; channel CHECK: 'email','post','in_person','portal','phone'.
  • status CHECK: 'open','identity_verification','in_progress','completed','rejected','partially_fulfilled'; screen requires rejection_basis when status is rejected (Art. 12(5) / Art. 17(3)).

Purpose: Single view of processing purposes and their lawful bases per client (consent_record), plus PSD2 TPP consents with SCA-refresh and access-frequency monitoring. Personas: DPO (oversight), RM (read for own clients), Compliance Officer

Data Sources

TableRole in screen
consent_recordprimary record — purpose, legal_basis, grant/withdrawal state
tpp_consentPSD2 panel: TPP identity, scope, expiry, SCA refresh, access counters
clientsubject context

CRUD Matrix

Tableagent:aib-identity (via API)DPORM
consent_recordC R U (sync grants/withdrawals from channels)R U (correct basis classification)R (own clients)
tpp_consentC R U (counters, expiry, propose revocation)R U (approve security_concern revocation)R (own clients)
clientRRR

Key Flows

  1. Agent records every consent event with granted_at / granted_channel; withdrawal sets withdrawn = 1 + withdrawn_at and stops dependent processing — withdrawal is effective immediately, no human approval needed (data-subject right), but the DPO is notified.
  2. Purposes claimed under legitimate_interest are flagged for DPO review (balancing-test evidence expected in the linked RoPA entry).
  3. TPP panel: agent tracks access_counter_today against max_access_per_day (DEFAULT 4, AIS without SCA per PSD2 Art. 36) and sca_refresh_due (consent_granted_at + 90d per EBA GL); breaches propose throttling or revocation.
  4. Revocation: client request and account closure auto-apply; security_concern and tpp_deregistered revocations require DPO/CISO approval before the agent executes.

States & Gates

  • Consent state: not granted → granted → withdrawn (one-way; re-grant creates a new record).
  • TPP consent: active → expired (consent_expires_at, max 90 days) / revoked (revoked = 1 with reason).
  • Gate: any new processing purpose with legal_basis = consent must have a matching RoPA entry before going live (link to SCR-PRV-005).

Validation

  • consent_record.legal_basis CHECK: 'consent','contract_performance','legal_obligation','vital_interests','public_task','legitimate_interest'; purpose NOT NULL; grant fields only meaningful when basis = consent.
  • tpp_consent.tpp_service_type CHECK: 'ais','pis','cbpii'; consent_granted_at NOT NULL; max_access_per_day DEFAULT 4 (PSD2 Art. 36); revocation_reason CHECK: 'client_request','account_closure','tpp_deregistered','security_concern','other'.
  • tpp_consent.tpp_eidas_cert_hash expected for active consents (eIDAS Art. 34 certificate identification).

SCR-PRV-003 — DPIA Workspace

Purpose: Conduct and track data protection impact assessments for high-risk processing (GDPR Art. 35) — notably AIB's AI-agent processing activities (e.g. AML behavioural profiling) — including DPO consultation and Art. 36 prior consultation with the authority. Personas: DPO (opinion), processing owner (COO/CCO delegate), CRO (model-risk overlap)

Data Sources

TableRole in screen
dpia_recordprimary record — criteria, risks, mitigations, approvals
ropa_recordthe processing activity under assessment
dpo_activity_logconsultation log (activity_type = dpia_consultation, linked via dpia_record_id)

CRUD Matrix

Tableagent:aib-identity (via API)DPOProcessing owner
dpia_recordC R U (draft from RoPA + system metadata)R U (dpo_opinion, dpo_consulted)R U (mitigations, sign-off via approved_by)
ropa_recordRR UR
dpo_activity_logC RC R U (own)R

Key Flows

  1. Agent drafts the DPIA shell from the RoPA entry: processing_activity, system_or_product_ref, applicable Art. 35(3) criteria (high_risk_criteria JSON — systematic evaluation/profiling, large-scale special categories, systematic monitoring), purposes, and a necessity/proportionality starting assessment.
  2. Processing owner completes risk identification (risk_description, risk_level) and mitigation_measures; agent recomputes residual_risk_level proposal.
  3. DPO consultation mandatory: dpo_consulted = 1 with written dpo_opinion; logged in dpo_activity_log.
  4. If residual risk remains high/very_high, fma_prior_consultation_required = 1: the screen tracks submission (fma_submitted, fma_ref) and blocks go-live until the consultation concludes (Art. 36).
  5. Approval (approved_by, approved_date) sets review_due_date; AI-agent DPIAs cross-reference the AI & Model Risk Charter review cycle.

States & Gates

  • Lifecycle: draft → risk assessment → DPO consulted → (authority consultation) → approved → periodic review (review_due_date).
  • Gate: processing cannot start while residual_risk_level IN (high,very_high) without completed prior consultation.
  • DPO independence: if the DPO flags a conflict, dpo_activity_log.dpo_independence_issue = 1 with description — surfaced on the governance dashboard.

Validation

  • dpia_record.processing_activity, high_risk_criteria, processing_purposes NOT NULL (GDPR Art. 35(7) minimum content).
  • risk_level and residual_risk_level CHECK: 'low','medium','high','very_high'.
  • fma_prior_consultation_required / fma_submitted pairing enforced by screen: submission evidence (fma_ref) required before approval when consultation is flagged.

SCR-PRV-004 — Breach Notification Console

Purpose: Run the GDPR Art. 33 72-hour clock from breach discovery to DSS Liechtenstein notification, and the Art. 34 data-subject notification decision. Personas: DPO (decision + notification), CISO/Incident Manager (facts), Senior Management (high-severity awareness)

Data Sources

TableRole in screen
breach_notificationprimary record — clock, scope, notifications
dpo_activity_logconsultation trail (activity_type = data_breach_consultation, linked via breach_notification_id)
ropa_recordaffected processing activities and data categories

CRUD Matrix

Tableagent:aib-identity (via API)DPOCISO / Incident Manager
breach_notificationC R U (open record, compute dss_deadline, draft scope)R U (notify DSS: dss_notified, Art. 34 decision)R U (facts: description, measures_taken)
dpo_activity_logC RC R U (own)R
ropa_recordRRR

(No D — breach records are Art. 33(5) documentation duty, retained regardless of outcome.)

Key Flows

  1. On incident classification as a personal-data breach, agent opens the record: discovered_at, dss_deadline = discovered_at + 72h, breach_type, affected categories/records estimate.
  2. CISO/Incident Manager feeds facts (likely_consequences, measures_taken) while the countdown header shows time remaining; DORA incident handling (PROC-010) runs in parallel where ICT-related — same incident, two notification regimes.
  3. DPO notifies DSS (dss_notified_at, dss_reference); if past deadline, notification_late = 1 and late_justification is mandatory (Art. 33(1)).
  4. Art. 34 decision: high_risk_to_individuals = 1 → notify affected clients (individuals_notified_at) unless an Art. 34(3) exemption applies (individual_notification_exemption — e.g. encryption rendering data unintelligible, subsequent measures, disproportionate effort with public communication instead).
  5. Closure after measures complete; full timeline preserved as documentation per Art. 33(5).

States & Gates

  • breach_notification.status: open → reported_to_dss → individuals_notified → closed.
  • 72h SLA: countdown is the dominant element; breach of the deadline forces the late-justification gate before any further state change.
  • Art. 34 gate: closing with high_risk_to_individuals = 1 requires either individuals_notified = 1 or a documented exemption.

Validation

  • breach_notification.discovered_at, dss_deadline, description NOT NULL; dss_deadline computed as discovery + 72h (GDPR Art. 33(1)).
  • breach_type CHECK: 'confidentiality','integrity','availability','combined'.
  • Screen-enforced: notification_late = 1 requires late_justification; individuals_notified = 1 requires individuals_notified_at; exemption text required when high-risk but not notifying (Art. 34(3)).

SCR-PRV-005 — RoPA Manager

Purpose: Maintain the GDPR Art. 30 records of processing activities — controller view (ropa_record) and processor/DPA view (ropa_processor_record) — with third-country-transfer safeguards and DPO review state. Personas: DPO (review), data owners (per-activity maintenance), COO delegate (processor contracts)

Data Sources

TableRole in screen
ropa_recordprimary record — processing activities, legal bases, retention, transfers
ropa_processor_recordprocessor register — DPAs, sub-processors, audit rights
dpia_recordhigh-risk linkage (activities requiring/holding a DPIA)
dpo_activity_logreview trail (activity_type = processing_register_review, vendor_dpa_review)

CRUD Matrix

Tableagent:aib-identity (via API)DPOData owner / COO delegate
ropa_recordC R U (draft from system inventory, flag drift)R U (dpo_reviewed, dpo_review_date, status)R U (own activities)
ropa_processor_recordC R U (contract metadata sync)R U (review, flag gaps)R U (DPA execution fields)
dpia_recordRRR
dpo_activity_logC RC R U (own)R

Key Flows

  1. Agent keeps the register synchronized with the service inventory: new processing in any aib-* service without a matching ropa_record raises a drift flag for the data owner.
  2. Data owner completes the Art. 30 fields (purpose, categories, recipients, retention with legal basis); legitimate_interests basis requires legitimate_interest_description.
  3. Third-country transfers: third_country_transfers = 1 requires third_country_names and a valid third_country_safeguard; none blocks active status.
  4. Processor register: each processor needs dpa_signed = 1 with dpa_date/dpa_document_id, sub-processor authorisation state, security_measures_adequate and audit_rights_confirmed; gaps queue for DPO vendor_dpa_review.
  5. DPO periodic review stamps dpo_reviewed / dpo_review_date; activities tied to high-risk criteria without a linked DPIA route to SCR-PRV-003.

States & Gates

  • ropa_record.status: active → under_review → discontinued (discontinued entries retained as historical record).
  • ropa_processor_record.status: active → expired / terminated; review_due drives the re-review queue.
  • Gate: activity cannot be active with special-category data (special_category_data = 1) and no special_category_basis (GDPR Art. 9).

Validation

  • ropa_record.legal_basis CHECK: 'contract','legal_obligation','vital_interests','public_task','legitimate_interests','consent'; processing_activity_name, purpose_of_processing, data_subject_categories, personal_data_categories, retention_period, data_owner NOT NULL; UNIQUE (legal_entity_id, processing_activity_code).
  • ropa_record.third_country_safeguard CHECK: 'adequacy_decision','scc','bcr','derogation','none','not_applicable'.
  • ropa_processor_record.processing_categories, personal_data_categories, data_subject_categories NOT NULL; status CHECK: 'active','expired','terminated'.

Access Control Notes

ScreenDPOCompliance OfficerCISO / Incident MgrData ownersRM
PRV-001 DSR Queuedecideidentity verification——none (request status visible to client via portal, not RM)
PRV-002 Consent Registeroverseereadsecurity revocations—read own clients
PRV-003 DPIA Workspaceopinionreadreadown activities—
PRV-004 Breach Consoledecide/notifyreadfacts—none
PRV-005 RoPA Managerreviewreadread (security measures)own activities—
  • DPO independence (GDPR Art. 38): the DPO decides DSR, breach, and DPIA outcomes without instruction; dpo_activity_log.dpo_independence_issue provides the escalation trace.
  • Segregation: breach facts (CISO) vs notification decision (DPO); RoPA maintenance (data owner) vs review (DPO).
  • DSR access responses touching AML/STR-adjacent data are filtered: GDPR access rights do not extend to disclosing STR existence (SPG Art. 16 prevails) — the response package builder excludes STR-linked records by design.

Cross-References

  • Processes: PROC-012 (Client Exit & Retention — purge after retain_until), PROC-010 (DORA incident reporting, parallel regime to Art. 33), PROC-011 (client portal — DSR intake channel)
  • Service APIs: aib-identity-service-api (consent_record, dsr_request ownership), aib-audit-service-api
  • Data ownership: aib-data-ownership-matrix.md
  • Adjacent screens: SCR-CLM-005 (retention console), SCR-AML-003 (STR confidentiality boundary), SCR-CLM-002 (client master data)

References

Referenced by