Skip to main content

POPIA Compliance Manual for Caliper

Document Version: 1.0 Last Updated: November 2025 Review Cycle: Annual Responsible Party: Restrat (Pty) Ltd Information Officer: [To be appointed]

Executive Summary​

This manual documents Caliper's compliance with the Protection of Personal Information Act (POPIA), Act 4 of 2013. It serves as evidence of compliance for audits, Information Regulator inspections, and internal governance.

Legal Requirement

Non-compliance with POPIA can result in administrative fines up to R10 million or 10 years imprisonment. Schools and educational institutions using Caliper must ensure compliance.

1. POPIA Act 4 of 2013: The 8 Conditions​

1.1 Condition 1: Accountability (Section 8)​

Requirement: Responsible party must ensure compliance with all POPIA conditions.

Caliper's Implementation:

✅ Information Officer Appointed

  • Name: [To be appointed]
  • Email: privacy@caliper.restrat.co.za
  • Registration Status: [Must register with Information Regulator]
  • Responsibilities:
    • Monitor POPIA compliance
    • Handle data subject requests
    • Liaison with Information Regulator
    • Conduct annual compliance audits

✅ Accountability Documentation

  • This compliance manual
  • Data Processing Agreements with schools
  • Third-party processor agreements (Anthropic, DeepSeek, OpenAI)
  • Internal policies and procedures

✅ Technical Implementation

  • DataProcessingLog model tracks all processing activities
  • Audit trails for all data operations
  • Consent management system
  • Annual compliance reviews scheduled

Evidence Location:

  • /backend/core/privacy_models.py - Lines 144-173 (DataProcessingLog)
  • /backend/core/privacy_views.py - Lines 414-461 (export_user_data)

1.2 Condition 2: Processing Limitation (Sections 9-12)​

Requirement: Process personal information lawfully, reasonably, and only with consent or legal basis.

Caliper's Implementation:

✅ Lawful Basis for Processing

Processing ActivityLawful BasisDocumentation
Account creationConsent + ContractUser registration form
AI markingConsent + Legitimate InterestUserPrivacySettings.allow_ai_processing
School admin accessLegitimate Interest + Legal ObligationSchool management necessity
IEB moderationLegal ObligationIEB requirements
GitHub storageConsentGitHub integration setup
Performance analyticsConsentUserPrivacySettings.allow_performance_analytics

✅ Consent Management

  • ConsentType model with 5 categories:
    • Essential Processing (required)
    • AI Processing (optional)
    • Analytics (optional)
    • Communication (optional)
    • Data Sharing (optional)
  • UserConsent tracks grants, withdrawals, IP addresses, timestamps
  • Version control ties consent to specific privacy policy versions

✅ Processing Minimization

  • Only collect data necessary for educational purposes
  • No marketing or profiling of learners
  • Anonymization option for AI processing

Evidence Location:

  • /backend/core/privacy_models.py - Lines 42-110 (ConsentType, UserConsent)
  • /backend/core/privacy_views.py - Lines 91-150 (update_consent)

1.3 Condition 3: Purpose Specification (Sections 13-14)​

Requirement: Collect personal information only for specific, explicitly defined, and lawful purposes.

Caliper's Defined Purposes:

  1. Educational Assessment

    • Purpose: Facilitate teaching, learning, and assessment
    • Data: Student submissions, grades, feedback
    • Retention: 7 years (IEB requirement)
  2. AI-Assisted Marking

    • Purpose: Provide automated marking feedback
    • Data: Code, PDFs, rubric criteria
    • Retention: Processing only, not stored permanently
  3. School Administration

    • Purpose: Manage users, classes, quota, reporting
    • Data: Names, emails, roles, activity logs
    • Retention: Duration of school subscription
  4. IEB PAT Management

    • Purpose: Comply with IEB assessment requirements
    • Data: PAT submissions, learner exam numbers, school center numbers
    • Retention: 7 years (IEB legal obligation)
  5. System Operations

    • Purpose: Security, troubleshooting, service improvement
    • Data: Usage logs, IP addresses, error logs
    • Retention: 12 months

Purpose Specification Process:

  1. Every data processing activity documented
  2. Purpose stated in privacy policy
  3. Purpose explained during consent collection
  4. Purpose validated before processing

Evidence Location:

  • Privacy Policy document (section: "How We Use Your Data")
  • /backend/core/privacy_views.py - Lines 287-310 (get_data_processing_history)

1.4 Condition 4: Further Processing Limitation (Section 15)​

Requirement: Process information only for original purpose unless further processing is compatible or data subject consents.

Caliper's Controls:

✅ Purpose Checking

  • DataProcessingLog records purpose for every operation
  • Lawful basis documented for each processing type
  • New purposes require additional consent

✅ Compatible Processing Examples of compatible further processing:

  • Archiving submissions for school records → Compatible with educational assessment
  • Generating analytics from grades → Compatible if consent given
  • Using submissions for AI model training → Incompatible - requires separate consent

✅ Prohibited Further Processing ❌ Selling data to third parties ❌ Marketing to learners ❌ Cross-school data sharing without consent ❌ Using educational data for profiling

Evidence Location:

  • /backend/core/privacy_models.py - Lines 144-173 (purpose tracking)
  • Terms of Service (section: "Acceptable Use Policy")

1.5 Condition 5: Information Quality (Section 16)​

Requirement: Ensure personal information is complete, accurate, not misleading, and updated.

Caliper's Implementation:

✅ Data Accuracy Measures

  1. User-Controlled Updates

    • Users can update profiles anytime
    • Email verification required
    • Phone number optional and editable
  2. Validation Rules

    • Email format validation
    • Student ID uniqueness check
    • IEB exam number format validation
    • Date of birth reasonable range check
  3. Regular Review Prompts

    • Annual profile review reminders
    • Update request on login if data >12 months old
    • School admin can request bulk updates
  4. Data Correction Process

    • Learners can request corrections via teacher
    • Teachers can update class information
    • School admins can correct user data
    • Audit trail logs all corrections

✅ Data Quality Monitoring

  • Duplicate detection (email, student ID)
  • Completeness checks (required fields)
  • Inconsistency detection (grade level vs date of birth)

Evidence Location:

  • /backend/core/models.py - Lines 811-826 (Person model with validation)
  • User profile update views

1.6 Condition 6: Openness (Sections 17-18)​

Requirement: Take reasonably practicable steps to ensure data subjects are aware of information being collected.

Caliper's Implementation:

✅ Privacy Notice

  • Comprehensive Privacy Policy (520+ lines)
  • Accessible at /docs/support/privacy-policy
  • Clear, plain language
  • Available before account creation
  • Version controlled

✅ Information Provided:

  1. Identity and contact details of Restrat (Pty) Ltd
  2. Information Officer contact details
  3. Purpose of information collection
  4. Legal basis for processing
  5. Recipients of information (AI providers, GitHub, school admins, IEB)
  6. Cross-border transfers disclosure (AI providers in US)
  7. Data subject rights under POPIA
  8. Right to lodge complaint with Information Regulator
  9. Security measures implemented
  10. Retention periods

✅ Communication Channels

✅ Notification Obligations

  • Privacy policy changes: 30 days advance notice
  • Data breaches: As soon as reasonably practicable
  • Processing changes: Updated consent required

Evidence Location:

  • Privacy Policy: /docs/support/privacy-policy.md
  • /backend/core/privacy_views.py - Lines 34-59 (get_active_privacy_policy)

1.7 Condition 7: Security Safeguards (Sections 19-22)​

Requirement: Secure integrity and confidentiality of personal information by taking appropriate, reasonable technical and organizational measures.

Caliper's Implementation:

✅ Technical Safeguards

1. Encryption

  • In Transit: HTTPS/TLS for all connections
  • At Rest: Database encryption (PostgreSQL)
  • Sensitive Fields: Encrypted storage for:
    • GitHub access tokens
    • API keys
    • [TO DO: Date of birth encryption]

2. Access Controls

  • Role-based permissions (Teacher, Learner, Admin, School Admin)
  • Session management with timeout
  • Multi-factor authentication (optional, recommended)
  • IP-based access logging

3. Authentication

  • Django's bcrypt password hashing
  • Strong password requirements:
    • Minimum 8 characters
    • Cannot be similar to username
    • Cannot be common password
    • Cannot be entirely numeric
  • Password reset with email verification

4. Network Security

  • CSRF protection enabled
  • XSS filtering enabled
  • Content-Type sniffing prevention
  • Clickjacking protection (X-Frame-Options)
  • CORS with allowed origins only

5. Database Security

  • PostgreSQL with parameterized queries (SQL injection prevention)
  • Connection pooling with max age
  • Separate development/production databases
  • Daily automated backups (retained 30 days)

✅ Organizational Safeguards

1. Access Management

  • Principle of least privilege
  • Separate teacher/school admin roles
  • Students only see own data and class peers
  • Audit trail for all sensitive operations

2. Personnel Security

  • Background checks for staff with data access
  • POPIA training for all employees
  • Signed confidentiality agreements
  • Security awareness training

3. Physical Security

  • Servers hosted in South Africa (secure data center)
  • Physical access controls
  • Environmental monitoring
  • Backup power systems

4. Incident Response

  • Data breach response plan
  • Incident reporting procedures
  • Notification within 72 hours of discovery
  • Post-incident review process

5. Vendor Management

  • Data Processing Agreements with:
    • AI providers (Anthropic, DeepSeek, OpenAI)
    • Hosting providers
    • GitHub
  • Regular vendor security assessments
  • Contract clauses for POPIA compliance

✅ Security Monitoring

  • Application logging (15MB rotating logs, 10 backups)
  • Failed login attempt monitoring
  • Unusual activity detection
  • Regular security audits (annual)

Evidence Location:

  • /backend/backend/settings_production.py - Lines 135-142 (security settings)
  • /backend/core/privacy_models.py - Lines 144-173 (audit logging)

1.8 Condition 8: Data Subject Participation (Sections 23-25)​

Requirement: Enable data subjects to request confirmation of held information, access it, and request correction, destruction, or deletion.

Caliper's Implementation:

✅ Right to Access

Process:

  1. User logs into account
  2. Navigate to Settings → Privacy → Download My Data
  3. System generates ZIP export containing:
    • Profile information (JSON)
    • Submissions and grades (CSV)
    • Comments and feedback
    • Consent history
    • Processing log (audit trail)
    • Privacy settings
  4. Download link expires after 72 hours
  5. Request logged in DataProcessingLog

Technical Implementation:

  • UserDataExportService collects all user data
  • Exports in machine-readable format (JSON, CSV)
  • Processing time: 30-120 seconds
  • Max export size: 500MB

✅ Right to Rectification

Process:

  1. User can update profile directly in settings
  2. For restricted fields (student ID, IEB exam number):
    • Submit correction request to school admin
    • Admin reviews and approves
    • Change logged in audit trail
  3. Response time: Within 5 business days

✅ Right to Erasure (Right to be Forgotten)

Process:

  1. User submits deletion request via Settings → Privacy → Delete Account
  2. Specify reason for deletion
  3. Select data categories to delete:
    • All personal information
    • Submissions only
    • Profile only
    • Specific assignments
  4. Request reviewed by Information Officer
  5. Decision within 30 days

Deletion Workflow:

  • Status: Pending → Processing → Completed/Rejected
  • Personal info deleted within 30 days
  • Academic records anonymized (not deleted) for school requirements
  • GitHub files remain in user's repository
  • Backups purged within 90 days

Exceptions to Deletion:

  • IEB PAT submissions (7-year legal retention)
  • Active disputes or investigations
  • Legal obligations to retain
  • Aggregated anonymous analytics (already anonymized)

✅ Right to Object

Process:

  1. User can object via Privacy Settings
  2. Granular controls:
    • Object to AI processing → Manual marking only
    • Object to analytics → Exclude from performance reports
    • Object to communications → Email notifications off
  3. Changes take effect immediately
  4. School admin notified if impacts service delivery

✅ Right to Restrict Processing

Process:

  1. User requests processing restriction
  2. Specify which processing activities
  3. Caliper can only:
    • Store the data
    • Process with user's consent
    • Process for legal claims
  4. Restriction recorded in UserPrivacySettings

✅ Right to Data Portability

Process:

  1. Same as Right to Access (export function)
  2. Export formats:
    • JSON (machine-readable)
    • CSV (import into Excel/other systems)
    • ZIP archive (all files)
  3. Structured, commonly used format
  4. Can be transmitted to another responsible party

Evidence Location:

  • /backend/core/privacy_views.py - Lines 414-461 (export_user_data)
  • /backend/core/privacy_models.py - Lines 205-244 (DataDeletionRequest)
  • /backend/core/privacy_views.py - Lines 229-285 (request_data_deletion)

2. Information Officer Registration​

2.1 Registration Requirements​

Legal Obligation: Section 55 of POPIA requires Information Officers to register with the Information Regulator.

Caliper's Information Officer:

2.2 Registration Process​

  1. Appoint Information Officer

    • Board resolution
    • Written job description
    • Authority to enforce compliance
  2. Complete Registration

    • Visit: https://inforegulator.org.za
    • Submit Form 1 (Information Officer registration)
    • Provide:
      • Company registration documents
      • Information Officer details
      • Description of processing activities
      • Security measures implemented
  3. Annual Reporting

    • Submit Promotion of Access to Information Act (PAIA) manual
    • Report: April 1 - June 30 annually
    • Update registration if details change

Action Required: ⚠️ Must complete registration before production launch


3. Data Processing Inventory​

3.1 Personal Information Processed​

Data CategoryData ElementsPurposeLegal BasisRetention
Teacher IdentityFirst name, last name, email, phone, employee ID, departmentAccount management, authenticationContract, ConsentAccount lifetime
Learner IdentityFirst name, last name, email, student ID, grade, date of birth, IEB exam numberEducational assessment, IEB complianceContract, Consent, Legal ObligationAccount lifetime, 7 years (PATs)
School InformationSchool name, address, center number, subjects taughtService delivery, billingContractContract duration
Educational ContentSubmissions, code, PDFs, grades, feedback, rubricsAI marking, assessmentContract, Consent7 years (IEB), otherwise account lifetime
Usage DataLogin times, IP addresses, page views, actions, AI quotaService delivery, security, analyticsLegitimate Interest, Consent12 months
GitHub IntegrationUsername, repository URLs, access tokens (encrypted), commitsFile storage, version controlConsentAccount lifetime
Consent RecordsConsent types, grant dates, IP addresses, user agentsPOPIA complianceLegal ObligationPermanent (audit trail)
Processing LogsActivity type, purpose, data categories, timestampsAccountability, auditLegal Obligation12 months

3.2 Data Flows​

Inbound:

  • User registration forms → Caliper database
  • File uploads → GitHub repositories
  • ADAM authentication → User verification

Processing:

  • Submissions + Rubrics → AI providers (Anthropic/DeepSeek/OpenAI) → Feedback
  • Grade calculations → Database storage
  • Report generation → PDF/HTML files

Outbound:

  • Grades/reports → Teachers (via dashboard)
  • Feedback → Learners (via dashboard)
  • PAT packages → IEB moderators (via secure link/ZIP)
  • Data exports → Users (ZIP download)
  • Backups → GitHub repositories

Cross-Border Transfers:

  • AI processing → United States (Anthropic, OpenAI)
  • AI processing → China (DeepSeek)
  • Safeguards: Standard contractual clauses, encryption in transit

4. Breach Notification Procedure​

4.1 Breach Definition​

A security compromise occurs when personal information is accessed, acquired, modified, or destroyed by unauthorized persons.

4.2 Response Timeline​

PhaseTimeframeAction
DetectionImmediateLog incident details
AssessmentWithin 2 hoursDetermine scope and severity
ContainmentWithin 4 hoursStop ongoing breach
Notification DecisionWithin 24 hoursAssess notification requirements
Regulator NotificationASAP (max 72 hours)Notify Information Regulator
Data Subject NotificationASAPNotify affected users
InvestigationWithin 7 daysRoot cause analysis
RemediationWithin 30 daysImplement fixes
ReviewWithin 60 daysPost-incident review

4.3 Notification Process​

Step 1: Assess Breach

  • How many data subjects affected?
  • What type of data compromised?
  • Is there risk of identity theft, fraud, reputational damage?
  • Can breach be contained or mitigated?

Step 2: Notify Information Regulator

  • Email: complaints.IR@justice.gov.za
  • Include:
    • Nature of breach
    • Data categories affected
    • Number of data subjects affected
    • Potential consequences
    • Measures taken to address breach
    • Measures to prevent recurrence
    • Contact details of Information Officer

Step 3: Notify Affected Data Subjects

  • Email to affected users
  • In-app notification banner
  • Public announcement if large-scale
  • Include:
    • What happened
    • What data was compromised
    • Potential risks
    • What Caliper is doing
    • What users should do (change password, monitor accounts)
    • Contact for questions: privacy@caliper.restrat.co.za

Step 4: Document Everything

  • Breach log with timeline
  • Evidence of notifications sent
  • Remediation actions taken
  • Lessons learned document

Evidence Location: Incident Response Plan (internal document)


5. Third-Party Processors​

5.1 Processor Relationships​

ProcessorServiceData SharedLocationDPA Status
AnthropicAI marking (Claude)Submissions, rubricsUnited States[Required]
DeepSeekAI markingSubmissions, rubricsChina[Required]
OpenAIAI marking (GPT)Submissions, rubricsUnited States[Required]
GitHubFile storage, version controlAll user files, codeGlobalUser-controlled
Database HostPostgreSQL hostingAll application dataSouth Africa[Required]
Email ProviderTransactional emailsEmail addresses, names[TBD][Required]

5.2 Data Processing Agreements (DPA)​

Required Elements:

  1. Purpose of processing
  2. Duration of processing
  3. Nature and purpose of processing
  4. Type of personal information
  5. Categories of data subjects
  6. Processor obligations:
    • Process only on instructions
    • Ensure confidentiality
    • Implement security measures
    • Assist with data subject requests
    • Delete/return data after contract
    • Allow audits

Action Required: ⚠️ Execute DPAs with all processors before production launch


6. Compliance Audit Checklist​

6.1 Annual Compliance Audit​

Conducted by: Information Officer Frequency: Annually (before June 30) Documented in: Compliance Audit Report

Checklist:

Accountability​

  • Information Officer appointed and registered
  • Compliance manual reviewed and updated
  • Staff POPIA training completed
  • Audit trails functioning correctly

Processing Limitation​

  • Consent management system operational
  • All processing has lawful basis
  • No excessive data collection identified
  • Consent withdrawal requests processed within 48 hours

Purpose Specification​

  • Privacy policy reflects current purposes
  • No unauthorized purpose creep identified
  • Data processing inventory updated
  • Purpose documented for new processing activities

Further Processing Limitation​

  • No incompatible processing identified
  • Purpose checking enforced in code
  • New purposes receive additional consent

Information Quality​

  • User profiles reviewed for accuracy
  • Validation rules functioning
  • Correction requests processed within 5 days
  • Data quality monitoring active

Openness​

  • Privacy policy accessible and current
  • Information Officer contact details correct
  • Breach notification procedures tested
  • Data subjects aware of rights

Security Safeguards​

  • HTTPS/SSL enabled on all connections
  • Database encryption verified
  • Access controls tested
  • Backup/restore tested successfully
  • Penetration testing conducted
  • Security patches up to date
  • Vendor security assessments reviewed

Data Subject Participation​

  • Data export function tested
  • Deletion requests processed within 30 days
  • Correction process functioning
  • Response times within SLA
  • Audit trail complete

Sign-off:

  • Information Officer: _________________ Date: _______
  • Managing Director: __________________ Date: _______

7. Training and Awareness​

7.1 Staff Training Requirements​

Target Audience: All Restrat employees with access to Caliper

Training Topics:

  1. Introduction to POPIA
  2. Eight conditions for lawful processing
  3. Data subject rights
  4. Security safeguards
  5. Breach response procedures
  6. Privacy by design principles

Training Schedule:

  • New employees: Within 30 days of hire
  • Annual refresher: All staff
  • Ad-hoc: When policy changes occur

Training Records:

  • Employee name
  • Training date
  • Training topics covered
  • Assessment score (if applicable)
  • Sign-off

7.2 School User Education​

Teacher Onboarding:

  • Privacy policy review
  • Consent management
  • Learner privacy obligations
  • Secure password practices

Learner Onboarding:

  • Age-appropriate privacy notice
  • Data subject rights explanation
  • Safe use of platform
  • Reporting concerns

Materials:

  • Video tutorials
  • Quick reference guides
  • FAQ section
  • Help desk support

8. Continuous Compliance​

8.1 Review Cycle​

ActivityFrequencyResponsible
Privacy Policy reviewAnnualInformation Officer
Compliance auditAnnualInformation Officer
Security assessmentQuarterlyIT Security
Vendor DPA reviewAnnualLegal/Information Officer
Training deliveryAnnual (or as needed)HR/Information Officer
Breach response drillSemi-annualInformation Officer + IT
Data retention reviewQuarterlyInformation Officer
Consent management auditQuarterlyInformation Officer

8.2 Monitoring Metrics​

Track Monthly:

  • Number of data subject requests (access, deletion, correction)
  • Average response time to requests
  • Number of consent grants/withdrawals
  • Security incidents detected
  • Failed login attempts
  • AI quota usage per school

Track Quarterly:

  • Data quality scores
  • Audit trail completeness
  • Vendor compliance status
  • Training completion rates

Track Annually:

  • Full compliance audit score
  • Penetration test results
  • Incident response effectiveness
  • User satisfaction with privacy controls

9. Contact Information​

9.1 Internal Contacts​

Information Officer

  • Name: [To be appointed]
  • Email: privacy@caliper.restrat.co.za
  • Phone: [To be provided]
  • Responsibilities: POPIA compliance, data subject requests, regulator liaison

Data Protection Team

9.2 External Contacts​

Information Regulator

PAIA Helpline

  • For questions about access to information
  • Part of Information Regulator

10. Document Control​

10.1 Version History​

VersionDateAuthorChanges
1.0November 2025Claude (AI Assistant)Initial compliance manual

10.2 Approval​

Prepared by: Information Officer Reviewed by: Legal Counsel Approved by: Managing Director

Approval Date: _______________

Next Review Date: November 2026


Appendices​

Appendix A: Forms and Templates​

  1. Data Subject Request Form

    • Access request
    • Correction request
    • Deletion request
    • Objection to processing
  2. Consent Form Templates

    • Account registration consent
    • AI processing consent
    • Analytics consent
    • Communication consent
  3. Breach Notification Templates

    • Internal incident report
    • Regulator notification
    • Data subject notification
  4. Data Processing Agreement Template

    • For third-party processors

Appendix B: Technical Evidence​

  1. Code References

    • Privacy models: /backend/core/privacy_models.py
    • Privacy views: /backend/core/privacy_views.py
    • Security settings: /backend/backend/settings_production.py
    • User models: /backend/core/models.py
  2. Database Schema

    • PrivacyPolicy table
    • ConsentType table
    • UserConsent table
    • UserPrivacySettings table
    • DataProcessingLog table
    • DataDeletionRequest table
  3. API Endpoints

    • /api/privacy/policy - Get active privacy policy
    • /api/privacy/consents - Manage user consents
    • /api/privacy/settings - Privacy settings
    • /api/privacy/export - Data export
    • /api/privacy/delete - Deletion request

Appendix C: Compliance Gaps and Remediation​

Current Gaps:

  1. Information Officer Not Registered

    • Impact: Non-compliance with Section 55
    • Remediation: Appoint and register within 30 days
    • Target: [Date]
  2. Date of Birth Not Encrypted

    • Impact: Sensitive data at risk
    • Remediation: Implement field-level encryption
    • Target: [Date]
  3. No Database Encryption at Rest

    • Impact: Data at risk if physical access gained
    • Remediation: Enable PostgreSQL encryption
    • Target: [Date]
  4. Data Processing Agreements Not Executed

    • Impact: Third-party processors not bound
    • Remediation: Execute DPAs with all processors
    • Target: [Date]
  5. AI Data Anonymization Not Implemented

    • Impact: Personal data shared with AI providers
    • Remediation: Implement name/ID scrubbing before AI
    • Target: [Date]

Action Required

Before production deployment, complete:

  1. ✅ Appoint and register Information Officer
  2. ✅ Execute Data Processing Agreements
  3. ✅ Implement database encryption
  4. ✅ Encrypt sensitive fields (date of birth, tokens)
  5. ✅ Test breach notification procedure
  6. ✅ Conduct staff POPIA training
  7. ✅ Review and sign off on this manual
Questions?

Contact the Information Officer at privacy@caliper.restrat.co.za

END OF DOCUMENT