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.
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
DataProcessingLogmodel 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 Activity | Lawful Basis | Documentation |
|---|---|---|
| Account creation | Consent + Contract | User registration form |
| AI marking | Consent + Legitimate Interest | UserPrivacySettings.allow_ai_processing |
| School admin access | Legitimate Interest + Legal Obligation | School management necessity |
| IEB moderation | Legal Obligation | IEB requirements |
| GitHub storage | Consent | GitHub integration setup |
| Performance analytics | Consent | UserPrivacySettings.allow_performance_analytics |
✅ Consent Management
ConsentTypemodel with 5 categories:- Essential Processing (required)
- AI Processing (optional)
- Analytics (optional)
- Communication (optional)
- Data Sharing (optional)
UserConsenttracks 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:
-
Educational Assessment
- Purpose: Facilitate teaching, learning, and assessment
- Data: Student submissions, grades, feedback
- Retention: 7 years (IEB requirement)
-
AI-Assisted Marking
- Purpose: Provide automated marking feedback
- Data: Code, PDFs, rubric criteria
- Retention: Processing only, not stored permanently
-
School Administration
- Purpose: Manage users, classes, quota, reporting
- Data: Names, emails, roles, activity logs
- Retention: Duration of school subscription
-
IEB PAT Management
- Purpose: Comply with IEB assessment requirements
- Data: PAT submissions, learner exam numbers, school center numbers
- Retention: 7 years (IEB legal obligation)
-
System Operations
- Purpose: Security, troubleshooting, service improvement
- Data: Usage logs, IP addresses, error logs
- Retention: 12 months
Purpose Specification Process:
- Every data processing activity documented
- Purpose stated in privacy policy
- Purpose explained during consent collection
- 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
DataProcessingLogrecords 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
-
User-Controlled Updates
- Users can update profiles anytime
- Email verification required
- Phone number optional and editable
-
Validation Rules
- Email format validation
- Student ID uniqueness check
- IEB exam number format validation
- Date of birth reasonable range check
-
Regular Review Prompts
- Annual profile review reminders
- Update request on login if data >12 months old
- School admin can request bulk updates
-
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:
- Identity and contact details of Restrat (Pty) Ltd
- Information Officer contact details
- Purpose of information collection
- Legal basis for processing
- Recipients of information (AI providers, GitHub, school admins, IEB)
- Cross-border transfers disclosure (AI providers in US)
- Data subject rights under POPIA
- Right to lodge complaint with Information Regulator
- Security measures implemented
- Retention periods
✅ Communication Channels
- General: info@caliper.restrat.co.za
- Privacy Officer: privacy@caliper.restrat.co.za
- POPIA Requests: gdpr@caliper.restrat.co.za
- In-app: Privacy settings dashboard
- Phone: [To be provided]
✅ 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:
- User logs into account
- Navigate to Settings → Privacy → Download My Data
- System generates ZIP export containing:
- Profile information (JSON)
- Submissions and grades (CSV)
- Comments and feedback
- Consent history
- Processing log (audit trail)
- Privacy settings
- Download link expires after 72 hours
- Request logged in
DataProcessingLog
Technical Implementation:
UserDataExportServicecollects all user data- Exports in machine-readable format (JSON, CSV)
- Processing time: 30-120 seconds
- Max export size: 500MB
✅ Right to Rectification
Process:
- User can update profile directly in settings
- For restricted fields (student ID, IEB exam number):
- Submit correction request to school admin
- Admin reviews and approves
- Change logged in audit trail
- Response time: Within 5 business days
✅ Right to Erasure (Right to be Forgotten)
Process:
- User submits deletion request via Settings → Privacy → Delete Account
- Specify reason for deletion
- Select data categories to delete:
- All personal information
- Submissions only
- Profile only
- Specific assignments
- Request reviewed by Information Officer
- 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:
- User can object via Privacy Settings
- Granular controls:
- Object to AI processing → Manual marking only
- Object to analytics → Exclude from performance reports
- Object to communications → Email notifications off
- Changes take effect immediately
- School admin notified if impacts service delivery
✅ Right to Restrict Processing
Process:
- User requests processing restriction
- Specify which processing activities
- Caliper can only:
- Store the data
- Process with user's consent
- Process for legal claims
- Restriction recorded in
UserPrivacySettings
✅ Right to Data Portability
Process:
- Same as Right to Access (export function)
- Export formats:
- JSON (machine-readable)
- CSV (import into Excel/other systems)
- ZIP archive (all files)
- Structured, commonly used format
- 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:
- Name: [To be appointed]
- Email: privacy@caliper.restrat.co.za
- Phone: [To be provided]
- Registration Status: [Must complete registration]
2.2 Registration Process
-
Appoint Information Officer
- Board resolution
- Written job description
- Authority to enforce compliance
-
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
-
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 Category | Data Elements | Purpose | Legal Basis | Retention |
|---|---|---|---|---|
| Teacher Identity | First name, last name, email, phone, employee ID, department | Account management, authentication | Contract, Consent | Account lifetime |
| Learner Identity | First name, last name, email, student ID, grade, date of birth, IEB exam number | Educational assessment, IEB compliance | Contract, Consent, Legal Obligation | Account lifetime, 7 years (PATs) |
| School Information | School name, address, center number, subjects taught | Service delivery, billing | Contract | Contract duration |
| Educational Content | Submissions, code, PDFs, grades, feedback, rubrics | AI marking, assessment | Contract, Consent | 7 years (IEB), otherwise account lifetime |
| Usage Data | Login times, IP addresses, page views, actions, AI quota | Service delivery, security, analytics | Legitimate Interest, Consent | 12 months |
| GitHub Integration | Username, repository URLs, access tokens (encrypted), commits | File storage, version control | Consent | Account lifetime |
| Consent Records | Consent types, grant dates, IP addresses, user agents | POPIA compliance | Legal Obligation | Permanent (audit trail) |
| Processing Logs | Activity type, purpose, data categories, timestamps | Accountability, audit | Legal Obligation | 12 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
| Phase | Timeframe | Action |
|---|---|---|
| Detection | Immediate | Log incident details |
| Assessment | Within 2 hours | Determine scope and severity |
| Containment | Within 4 hours | Stop ongoing breach |
| Notification Decision | Within 24 hours | Assess notification requirements |
| Regulator Notification | ASAP (max 72 hours) | Notify Information Regulator |
| Data Subject Notification | ASAP | Notify affected users |
| Investigation | Within 7 days | Root cause analysis |
| Remediation | Within 30 days | Implement fixes |
| Review | Within 60 days | Post-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
| Processor | Service | Data Shared | Location | DPA Status |
|---|---|---|---|---|
| Anthropic | AI marking (Claude) | Submissions, rubrics | United States | [Required] |
| DeepSeek | AI marking | Submissions, rubrics | China | [Required] |
| OpenAI | AI marking (GPT) | Submissions, rubrics | United States | [Required] |
| GitHub | File storage, version control | All user files, code | Global | User-controlled |
| Database Host | PostgreSQL hosting | All application data | South Africa | [Required] |
| Email Provider | Transactional emails | Email addresses, names | [TBD] | [Required] |
5.2 Data Processing Agreements (DPA)
Required Elements:
- Purpose of processing
- Duration of processing
- Nature and purpose of processing
- Type of personal information
- Categories of data subjects
- 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:
- Introduction to POPIA
- Eight conditions for lawful processing
- Data subject rights
- Security safeguards
- Breach response procedures
- 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
| Activity | Frequency | Responsible |
|---|---|---|
| Privacy Policy review | Annual | Information Officer |
| Compliance audit | Annual | Information Officer |
| Security assessment | Quarterly | IT Security |
| Vendor DPA review | Annual | Legal/Information Officer |
| Training delivery | Annual (or as needed) | HR/Information Officer |
| Breach response drill | Semi-annual | Information Officer + IT |
| Data retention review | Quarterly | Information Officer |
| Consent management audit | Quarterly | Information 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
- Technical Lead: dev@caliper.restrat.co.za
- Security Officer: security@caliper.restrat.co.za
- Legal Counsel: legal@restrat.co.za
9.2 External Contacts
Information Regulator
- Website: https://inforegulator.org.za
- Email: complaints.IR@justice.gov.za
- Phone: +27 12 406 4818
- Address: SALU Building, 316 Thabo Sehume Street, Pretoria
PAIA Helpline
- For questions about access to information
- Part of Information Regulator
10. Document Control
10.1 Version History
| Version | Date | Author | Changes |
|---|---|---|---|
| 1.0 | November 2025 | Claude (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
-
Data Subject Request Form
- Access request
- Correction request
- Deletion request
- Objection to processing
-
Consent Form Templates
- Account registration consent
- AI processing consent
- Analytics consent
- Communication consent
-
Breach Notification Templates
- Internal incident report
- Regulator notification
- Data subject notification
-
Data Processing Agreement Template
- For third-party processors
Appendix B: Technical Evidence
-
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
- Privacy models:
-
Database Schema
- PrivacyPolicy table
- ConsentType table
- UserConsent table
- UserPrivacySettings table
- DataProcessingLog table
- DataDeletionRequest table
-
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:
-
Information Officer Not Registered
- Impact: Non-compliance with Section 55
- Remediation: Appoint and register within 30 days
- Target: [Date]
-
Date of Birth Not Encrypted
- Impact: Sensitive data at risk
- Remediation: Implement field-level encryption
- Target: [Date]
-
No Database Encryption at Rest
- Impact: Data at risk if physical access gained
- Remediation: Enable PostgreSQL encryption
- Target: [Date]
-
Data Processing Agreements Not Executed
- Impact: Third-party processors not bound
- Remediation: Execute DPAs with all processors
- Target: [Date]
-
AI Data Anonymization Not Implemented
- Impact: Personal data shared with AI providers
- Remediation: Implement name/ID scrubbing before AI
- Target: [Date]
Before production deployment, complete:
- ✅ Appoint and register Information Officer
- ✅ Execute Data Processing Agreements
- ✅ Implement database encryption
- ✅ Encrypt sensitive fields (date of birth, tokens)
- ✅ Test breach notification procedure
- ✅ Conduct staff POPIA training
- ✅ Review and sign off on this manual
Contact the Information Officer at privacy@caliper.restrat.co.za
END OF DOCUMENT