Database roles define what data is visible, editable, or exportable. Under the General Data Protection Regulation (GDPR), these roles are not just technical settings—they are legal boundaries. Every role assigned to a user must have a clear purpose, minimum access, and logged activity. Anything less risks violating Article 5 (data minimization) and Article 32 (security of processing).
The core GDPR database roles are:
Data Controller – Sets the purpose and means of processing personal data. Controls the schema, retention rules, and lawful basis for storage.
Data Processor – Operates on behalf of the controller. Handles queries, updates, or exports strictly under documented instruction.
Data Protection Officer (DPO) – Audits database access, monitors compliance, and ensures training on GDPR principles.
Privileged User – Has elevated access for maintenance or development but is restricted by segregation of duties, strong authentication, and change logs.
Read-Only Analyst – Views anonymized or masked records for reporting purposes. Cannot retrieve identifiers without authorization from the controller.