Moodle AI and student data privacy: what to review before enabling it
Before you switch on any AI feature in Moodle, your data protection officer needs to see three things in writing: what is sent to each AI provider, what is kept in the AI action records on your own site, and who controls how long that data is retained. A university, school or training body that cannot answer those three questions should not enable the placements yet. The review comes first, and configuration follows from its findings, not the other way round.
The GDPR is a framework for controllers and processors, and your organization is usually the controller for student data processed through Moodle. The provider that receives prompts is typically a processor under contract, but the controller still owns the lawful basis, the transparency to students and the choice of provider. Chapter V matters as soon as a provider stores or accesses data outside the EEA, because remote access from a third country counts as a transfer under the EDPB's guidance. Ask each provider where processing and storage happen, who can access the data, and which contract terms apply, and record the answers. The review must precede configuration because the provider you choose determines what data leaves your infrastructure at all.
DeployOpen prepares the technical evidence for this review: the data flow map, the provider settings as configured, the action record inventory, retention settings and the student-facing notices. DeployOpen does not issue audit reports, attestations or certifications, and the GDPR requires none, since certification under Article 42 is voluntary and does not reduce your responsibility. Confirm with your data protection officer which assessment they expect before any pilot, and confirm the current provider terms directly with each vendor, because contract conditions and provider data handling can change between your review and your rollout.
What data leaves Moodle when an AI action runs
This sequence follows one AI request from the moment a student or teacher triggers an action to the provider's response and the record Moodle keeps, so you can list the personal data at each point before you choose a provider. Confirm each field against the Moodle release you run, because the AI subsystem changes between versions.
Map the user action that starts the request
A student or teacher triggers an AI placement, such as course assistance or a generation action in the text editor. Record which placement, which action type and which page or activity context the request comes from, since each one can send different content. Ask your Moodle administrator to list every enabled placement in your site, then test each one with a dummy account. The step is done when you have a table of placements mapped to the user roles that can reach them.
Identify what the prompt contains
Moodle builds a prompt from the text the user types and any context the placement adds, such as the course or activity the user is in. Check whether the prompt includes the user's name, user ID, course ID, course name or activity name, and whether selected text from a page is appended. Treat any text a teacher pastes, including student work or feedback, as personal data. Confirm the exact fields your release adds by sending a test prompt and inspecting the payload your provider receives.
Confirm what uploaded or selected text is sent
When a user selects text in the editor or submits content for summarising or explaining, that selection is the main carrier of personal data. Identify whether the full selection is sent, whether any surrounding page content is included, and whether files or images are passed through. Keep a list of the content types you expect to see, such as assignment text, forum posts or discussion content, and note which ones include information about named students. The step is done when each content type has a documented yes or no for transmission.
Trace the outbound call to the provider
Moodle's AI subsystem sends the assembled request to the provider you configured for that action. Note the destination host, the region where the provider processes the request, and whether the call is made from your server or from the user's browser. If you use a self-hosted provider, confirm the request stays on your network. Capture the outbound traffic in a test environment to verify the destination and the fields that leave your infrastructure.
Check the provider response and what it returns
The provider returns generated text or an image, which Moodle displays to the user and may store. Identify whether the response repeats personal data from the prompt, such as a student's name in a summary, and whether any generated content is written into course content or feedback. Review the response in the test run and mark any field that could identify a person. Confirm with your provider's contract how the response is retained on their side.
Review the stored action record in Moodle
Moodle records AI actions in its own database so administrators can report on usage. Check which fields are saved for each action, including the user, the course or context, the action type, the provider and timestamps, and whether prompt or response text is stored. Ask for a database export or view the usage report in a test site to confirm the stored fields. The step is done when you have a written list of stored fields and which of them are personal data.
Record the personal data at each point
Bring the findings together in one data flow table with columns for the step, the data item, whether it identifies a person, where it is held and who can access it. Use it as the input for the provider choice, retention decisions and the transparency notice given to students. Ask your Moodle release notes and administrator documentation to confirm each row before you sign off, because the AI subsystem details change between Moodle versions.
How an AI request crosses the trust boundary
The flow starts with a user action in Moodle, such as a course assistance request or an editor action. The AI subsystem passes the request to the provider plugin the administrator selected, and that plugin calls the provider endpoint. The transfer point is the hand-off to the endpoint: if the endpoint sits outside the EEA, or is operated by a provider whose storage or remote access falls outside the EEA, the request is a transfer under Chapter V. Before enabling any provider, check where the endpoint runs, what it retains, and whether the action record in the Moodle database is kept for your retention period.
The transfer point is the hand-off from the provider plugin to the provider endpoint.
When an AI provider becomes a GDPR transfer
Sending Moodle AI requests to a provider outside the EEA is a transfer under Chapter V of the GDPR, even when the provider is hosted in the EU by an intermediary. The EDPB's Guidelines 05/2021 (version 2.0) treat storage in a cloud outside the EEA and remote access from a third country as transfers, and even displaying data on a screen for support or administration counts. Article 44 extends the same conditions to onward transfers, so if your chosen provider passes prompts or completions to a sub-processor elsewhere, that hop needs its own basis. For each AI provider you enable in Moodle, list where prompts, generated text and any stored responses are processed, who can reach them remotely, and which sub-processors touch them. Ask the provider for this in writing and compare it with what the Moodle provider settings actually send.
An EU-hosted processor is not automatically outside the scope of the question. The EDPB's Example 12 says that using an EU processor subject to third-country law with extraterritorial effect is not in itself a transfer, but complying with a third-country authority request would be one. The US CLOUD Act at 18 U.S.C. 2713 reaches data in a provider's possession, custody or control wherever it is stored, and Article 48 of the GDPR only recognizes foreign disclosure orders that rest on an international agreement. After Schrems II (Case C-311/18, 16 July 2020) invalidated the Privacy Shield while upholding standard contractual clauses, controllers must assess the destination's access laws case by case. The EU-US Data Privacy Framework (Commission Implementing Decision (EU) 2023/1795) covers only US organizations on the Data Privacy Framework List, and its General Court judgment is under appeal as Case C-703/25 P, so do not treat it as settled. Where the EDPB's Recommendations 01/2020 apply, a provider that needs data in the clear may leave no effective technical safeguard.
Get your data protection counsel's view on the transfer mechanism for each provider before a pilot, and record the decision with the transfer impact assessment. Counsel should confirm whether the provider's contract includes standard contractual clauses under Commission Implementing Decision (EU) 2021/914, which supplementary measures apply, and whether a self-hosted provider such as Ollama on your own servers avoids the transfer altogether. Keep the record current, because the GDPR text itself has not been amended as of October 2026, while the Omnibus IV and Digital Omnibus proposals remain in the legislative process and may change the rules that apply to your processing.
Choosing a provider for personal data
When the model runs inside your own infrastructure, the AI provider is a component you operate rather than a third party receiving personal data. Prompts and completions stay on servers you control, so the main questions shift to who can administer those servers and where the model's logs and cached data are kept. You still document the processing in your records and assess security of processing under Article 32 of the GDPR.
- Hosting location: Confirm the physical and cloud region where the model server runs, including backups and any replicas.
- Administrative access: List which staff and vendors can reach the model host, its logs and its storage.
- Logging and retention: Check whether prompts are written to application or inference server logs, and set a retention period for them.
- Support contracts: If an outside firm maintains the server, treat it as a processor and put a data processing agreement in place.
- Model source: Record where model weights come from and how updates are approved.
For product-level details on endpoint setup and model choice, see the sibling page on Moodle AI with a self-hosted Ollama server. Check that the hosting record matches what the provider settings actually send.
A provider established inside the EEA under your own contract keeps the processing within the GDPR's territorial reach, so no transfer to a third country occurs for the provider's own processing. The controller still needs a written data processing agreement that meets Article 28 and a clear record of every sub-processor, since a EU-established vendor can route work to services located elsewhere. Where a provider is EU-established but subject to third-country law, the EDPB's guidance says you should assess that exposure before engaging it.
- Data processing agreement: Confirm it covers instructions, confidentiality, deletion at the end of the contract and audit cooperation.
- Sub-processors: Request the full list, including where each one stores or accesses data, and your right to object to changes.
- Remote access: Ask whether support staff outside the EEA can view data, because that counts as a transfer under EDPB Guidelines 05/2021.
- Third-country law exposure: Ask whether the provider's parent or any sub-processor is subject to foreign disclosure laws and how it responds to such requests.
- Retention at the provider: Get the period for prompts, outputs and abuse-monitoring logs, and whether they are used for training.
For the product comparison of contract terms and regional options, see the sibling page on Choosing an AI provider for Moodle. Do not rely on an EU location in a marketing page alone; the contract and sub-processor list decide the exposure.
A provider established outside the EEA makes every prompt containing personal data a transfer to a third country, which must meet Chapter V of the GDPR before any data is sent. Adequacy covers only specific destinations and recipients, so you need to confirm which transfer mechanism applies to the exact provider and service. Where the transfer depends on a framework that is under legal challenge, plan a fallback before enabling the feature.
- Transfer mechanism: Identify whether the transfer relies on an adequacy decision, such as the Data Privacy Framework for certified US organizations, or on standard contractual clauses, and confirm the provider is on the relevant list.
- Transfer impact assessment: Document the destination's public authority powers and whether supplementary measures can address them.
- Government access requests: Ask how the provider responds to foreign legal demands and whether it commits to challenging overbroad requests.
- Onward transfers: List every recipient outside the EEA, including sub-processors and support locations.
- Retention and deletion: Confirm how long prompts and outputs are held outside the EEA and how deletion is evidenced.
For provider-specific details on regions and deployment options, see the sibling pages on Moodle AI with Azure AI and Moodle AI with AWS Bedrock. Confirm the legal position with your data protection officer before any student data is sent.
Privacy options and when each fits
This table compares the main configuration and governance choices for Moodle AI, from provider location to student notices. Read each row as a decision: the situation it suits, the trade-off it carries, and what to confirm in your Moodle version before you rely on it. Most privacy exposure comes from which provider receives personal data and which courses and users can reach AI at all, so those rows deserve the earliest review.
| Choice | When it fits | Trade-off |
|---|---|---|
| Provider located inside your infrastructure (self-hosted Ollama server) | Prompts contain personal or assessment data that must not leave your environment or cross a border | You carry model hosting, GPU sizing and patching, and model choice is narrower than cloud providers |
| Cloud provider in the EEA or your home region | Your contract and data processing terms fit, and you need a managed model service | Confirm the processing location, subprocessors and any access by the provider's parent jurisdiction before enabling |
| Cloud provider outside the EEA | Only if you have a documented transfer mechanism and a transfer impact assessment | Remote access from a third country and storage abroad both count as transfers, so the legal review takes longer |
| Enable AI per action (summarise, explain, generate text or images) | You want to pilot one low-risk action before others | Each enabled action sends different content, so each needs its own data review |
| Restrict AI by course, activity and role | Rollout is gradual or some courses hold sensitive material | Access rules must be maintained as courses are created; confirm the controls available in your version |
| Exclude exam and assessment content | Assessments are sensitive, or academic integrity rules forbid AI assistance | Requires disabling AI on specific pages and checking that copied content does not reach providers |
| Retention period for AI action records | You must answer subject access requests and limit how long prompts and responses are kept | Shorter retention reduces audit evidence; confirm where records are stored and how deletion is run |
| Student notice in course and privacy information | Students must understand what AI sees and which provider processes it | Notices written without the actual provider and data flow create transparency gaps |
| AI user policy with acceptance tracking | Students and staff must agree to permitted use before first access | Acceptance records are only useful if reviewed; confirm how the policy text is customized and reported |
What Moodle stores and who can read it
Moodle AI creates records at several layers: the database, reports, logs, backups and the provider's own systems. Each layer has its own retention and its own set of people who can see it, so the data protection officer needs to map all of them before the first prompt is sent.
Action records in the database
Each AI action a user runs can leave a record in the Moodle database, including the stored request and response for that action. Ask whether these records hold the full prompt text, which user and course they link to, and how long they persist. Confirm the storage behaviour for your Moodle version in the AI subsystem settings and in a test course before any pilot.
- Course-level AI controls
- 5.1
Usage and user reports
The AI usage and user reports summarise who used which placement and how often. These reports are useful for governance, but they also identify individual students and staff. Ask who holds the report capability, whether exports leave the platform, and whether student-level detail is needed at all for the review your academic integrity and data protection teams plan to run.
Web server and system logs
Web server access logs, PHP error logs and Moodle's own logs can capture request paths, user identifiers and error messages that include fragments of prompt or response content. Ask which log levels are enabled, where logs are shipped, who can read them and how quickly they rotate. Confirm this with your operations team, since log settings differ across hosting stacks.
Backups that contain action records
Database and file backups copy the action records along with everything else, so deleting a record in Moodle does not remove it from older backups. Ask how long backups are kept, where they are stored, whether they are encrypted, and who can restore them. Your retention schedule for AI records should state the backup window explicitly.
Provider-side retention
The AI provider you choose may keep prompts or outputs for its own purposes, for abuse monitoring or for a limited period. That retention sits outside Moodle and outside your control. Ask the provider for its written retention terms, whether data is used for training, and which country processes and stores it. Compare these terms with your Chapter V transfer analysis before enabling a provider for personal data.
GDPR textAdmin and teacher visibility
Site administrators, course teachers and anyone with report or log capabilities may be able to see AI activity that concerns their own courses or the whole site. Ask which roles hold each capability in your environment, whether teachers can see student prompts, and whether those roles have been reviewed against the people who actually need access. Role capabilities should be confirmed in a test site rather than assumed.
Telling students what happens to their data
Students need a notice that explains what happens to their data before they type a prompt into Moodle AI. Under the GDPR, the transparency information given to people whose data is processed should describe the provider receiving the data, the purpose of the processing, the categories of personal data involved, where the data is located and how long it is kept. For each enabled AI placement, check whether the notice covers the data a student actually sends, including any text they paste from their coursework, and whether it says when the provider is a processor acting on the institution's instructions. The GDPR itself is at EUR-Lex, and Articles 12 to 14 set the transparency content, so ask your data protection officer to confirm the exact wording against them.
Next, align the Moodle AI user policy with the organization's existing privacy notice and retention schedule. The policy a student accepts should not promise anything the privacy notice or schedule contradicts, and it should name the same providers, locations and storage periods. Retention for AI action records and usage reports should be set in the same schedule that governs other learning data, and you should confirm with your records team how long those records are kept in Moodle and in any provider's own logs. Do not copy a retention period from a vendor page or a sibling institution; take it from your own schedule.
Finally, confirm the legal basis with your data protection officer before the policy goes live. Consent, public task, contract and legitimate interests are not interchangeable for students, and the basis you choose changes what the notice must say about withdrawal and objection. Record the decision, the provider list and the review date in your processing records so that the notice, the policy and the Moodle configuration can be checked together when a provider or placement changes.
Security and operational controls to plan
Enabling AI in Moodle adds credentials, outbound network paths, admin settings and stored records that all carry personal data. The cards below cover the controls to design and test before a pilot, and the review that keeps them accurate after upgrades.
Provider key credential handling
Each AI provider authenticates with an API key or equivalent credential that Moodle stores in its AI provider settings. Anyone who reads that key can send requests billed to your account and possibly read data returned by the provider. Plan who creates keys, use one key per provider and environment, set spending limits where the provider offers them, and confirm that keys are not visible to teachers or in database exports or logs. Rotate keys on staff changes.
Moodle 5.3 notesNetwork egress controls
Moodle sends prompt content from the web server to each configured provider endpoint, so the firewall rules decide which destinations are reachable. Allow outbound traffic only to the endpoints you have approved, for example a single regional Azure or Bedrock endpoint or an internal Ollama host. Confirm whether the provider's traffic can route through a proxy, and log connection attempts so you can show which destinations received data.
Access to admin settings
Changing the provider, endpoint or placement settings changes where student data goes. Limit the capability to configure AI providers to a small named group of Moodle administrators, and review role assignments that could grant it. Record who changed a provider or placement and when. Treat any change to the default provider as a change to the data flow that needs approval before it is made.
Backup and restore of action records
Moodle stores records of AI actions, including the user, course and context, so backups and restores carry personal data. Confirm which tables are included in your database and file backups, how long backups are kept, and whether restored copies bring back action records that your retention rule has already removed. Test a restore into a non-production site and check the records against your retention schedule.
Incident response and breach notification
If prompts or responses are exposed through a misconfigured provider, a leaked key or a compromised server, the controller must assess the breach. Under Article 33, the controller notifies the supervisory authority without undue delay and, where feasible, within 72 hours of becoming aware. Article 34 covers informing affected data subjects when the risk is high. Agree in advance who decides, which provider contacts must be reached, and where the evidence from the action records and logs is held.
GDPR textPeriodic review after changes
Moodle ships major releases in April and October and point releases every two months, and provider plugins change independently of core. A plugin update can add a provider, change a default endpoint or alter what data is sent. Re-run your checks after each Moodle or provider plugin update, confirm the provider list and placements still match your approved register, and record the review as evidence for your data protection team.
Moodle releasesQuestions buyers ask before enabling Moodle AI
Do we need a DPIA before turning on Moodle AI for students?
Whether a data protection impact assessment is required depends on your processing, and the GDPR does not give a fixed checklist, so confirm the answer with your DPO and the supervisory authority guidance that applies in your country. The GDPR's accountability and security duties in Chapter IV apply either way, including security of processing under Article 32. AI features that send student prompts, submissions or profile data to a third party create new processing that your records and risk assessment must cover. Treat the question as settled only after your DPO has documented the decision.
Does a self-hosted model remove the international transfer question?
Not automatically. Hosting an AI provider inside your own infrastructure keeps prompts under your control, but the transfer analysis depends on where the processing happens, who can remotely access it and where backups and logs are stored. The EDPB Guidelines 05/2021 treat remote access from a third country, even only displaying data for support, as a transfer, and storage in a cloud outside the EEA as a transfer. Map every location and support path, including vendor maintenance access, before concluding that no transfer occurs.
What does a Moodle AI data protection review involve and what drives its effort?
The review maps each AI placement and action to the personal data it sends, the provider and its location, the stored action records, retention periods and the student notice. Effort rises with the number of providers enabled, the number of placements and courses, whether assessment content or special category data can reach a prompt, and how much contract evidence the provider supplies. Ask any partner for a written scope that lists the systems, data flows and deliverables before work starts.
Can our own team complete the review without an outside partner?
Often yes, provided your team has people who can read Moodle's AI configuration, the provider terms and the GDPR obligations on controllers and processors. The work is mostly documentation and configuration review, so the main gap is usually time and independent challenge rather than tooling. An outside partner can add a second review of the data flows and the Moodle settings, and a fixed-scope engagement sets the deliverables in writing. Decide early which parts your team owns and which the partner covers.
Does the GDPR require a certification or audit before we enable AI?
No. The GDPR requires no audit, attestation or certificate. Certification under Article 42 is voluntary, is issued for at most three years by accredited certification bodies or supervisory authorities, and does not reduce the controller's or processor's responsibility for compliance. Vendor certifications can support your evidence file, but you still need to show your own assessment of the processing. Ask providers for the documents they hold and confirm with your DPO which evidence your regulator would expect.
What do we need from the DPO, IT and academic leads?
The DPO owns the lawful basis, records of processing, transparency wording and transfer assessment. IT owns the provider endpoints, credentials, logging, backup locations and access to the Moodle AI settings. Academic leads decide which courses, activities and assessments may use AI and set rules on exams and feedback. Agree these owners and a single decision log before configuring anything, because the policy choices made by each group determine which data reaches a provider.
What happens to stored AI action records and how long are they kept?
Moodle records AI actions so administrators can review usage, and those records can contain personal data linked to users and courses. Confirm in your Moodle version what each record stores, who can view it and how it is deleted, then set a retention period that your DPO approves and that your scheduled tasks enforce. Check that backups follow the same retention rules, since deleted records can persist in older backups.
How DeployOpen scopes an AI privacy review for Moodle
DeployOpen scopes the review in writing before any work starts, because the scope decides what evidence exists at the end. The written scope names the Moodle environment, the AI placements and providers in question, the user groups whose data may reach a provider, and the compliance team that will accept the output. It also states what DeployOpen will not do: it does not issue audit reports, attestations or certifications, and independent auditors and certification bodies remain responsible for those. Under the GDPR, the controller stays accountable for compliance, so the scope is written to give your compliance team material it can review and sign off, not a conclusion it can hand to a third party.
Next, DeployOpen maps data flows in your own Moodle environment. The map traces each AI action from the user interface to the provider endpoint, including what the request contains, where the response and stored action records are kept, which backup and log copies exist, and whether any remote support access could display personal data from a third country. The chosen provider is then configured and tested against that map, covering the endpoint, credentials, per-action settings and the access controls that limit which courses, activities and roles can use AI. Your team should confirm the provider's data location and contract terms independently, since those are outside what the Moodle configuration can prove.
Finally, DeployOpen prepares the evidence your compliance team reviews: the data flow map, the configuration record, test results with their retest outcomes, the AI user policy text and the retention and transparency notices for students. Because Moodle upgrades can change AI settings and the provider list, retainers are available for ongoing review after each upgrade, so the mapping and tests are repeated against the new version rather than assumed to still hold. Ask any delivery partner to show how each item in the evidence set is tied to a specific setting or record in your environment.
Sources and further reading
- Regulation (EU) 2016/679 (GDPR) ↗
- EDPB Guidelines 05/2021 on the interplay between Article 3 and Chapter V of the GDPR (version 2.0) ↗
- EDPB Recommendations 01/2020 on measures that supplement transfer tools (version 2.0) ↗
- CJEU press release 91/20: judgment in Case C-311/18 (16 July 2020) ↗
- Moodle releases ↗

