1. Introduction
Every Learning Management System or Virtual Learning Environment (VLE) (that in this work we will use as synonyms) [
1,
2] uses and manages personal information about every student. This encompasses data such as their name, surname, email address and other personal details like a profile image. The LMS also stores personal and sensitive information, such as the grades of the student for every course and online activity, plus the feedback from the teacher. Last, but not least, the LMS logs every interaction of the student with the LMS: every time s/he logs in, every click, every document read, for how much time, every word written, every chat. All data and metadata are recorded.
Not only do these systems allow a teacher to see personal information about students, but they also enable students to see the information of other students enrolled in their course. This double role feature is pervasive in all the interface: list of participants, forums, chats, history of edits in wiki pages, group activities, etc. The information shown can include the name, picture, email address, links to social media profiles, when the user last logged in, activity in the course (entries in the forums, etc.), list of courses where the user is enrolled, full student profile, etc. To point out a specific LMS, this data openness is part of the very design of Moodle inspired by the principles of social constructionism [
3]. Social constructivism per se is not a problem. Our claim is that the use of social constructivism in online learning without enabled data privacy protection measures could lead to undesired situations for students. Hence, this problem, which is built into the very design of the LMS in terms of data privacy protection, may result in cyber stalking and cyber-bullying, among other inappropriate behaviors [
4,
5,
6,
7,
8].
Every information system that manages personal information in the European Union (EU) is affected by the General Data Privacy Regulation (GDPR). This includes LMSs and online educational applications.
The GDPR [
9] is a regulation in EU law on data protection and privacy for all individual citizens of the EU and European Economic Area (EEA) adopted in April 2016 and applicable since May 2018. It aims primarily to give individuals control over their data, simplifying and unifying the regulation within the EEA. The GDPR also addresses the transfer of personal data outside the EEA. The regulation contains provisions and requirements related to the processing of personal data of individuals inside the EEA (called “data subjects” in the text of GDPR) and applies to any enterprise established that is processing the personal information of data subjects inside the EEA.
In the sector of education, the “data subjects” are the students (and also the teachers and support staff) who are in many cases minors. LMSs have to comply with the GDPR and provide options and functionalities to let students execute their data protection rights.
Every student has a fundamental right to the protection of her or his personal information. This right is manifested explicitly in points 1, 2 and 28 of GDPR [
9], as well as in the section on the right to objection in article 21. Article 25 of the GDPR states that the protection of data by default is mandatory. All the GDPR rights should be assured in the LMSs using modifications on core codebase or by plugins [
10].
Most LMS installations are not handling the digital identity and confidentiality of the students properly [
11]. Such is the case of Moodle, which provides limited support for the GDPR [
12]. In 2018, the 3.4 release of Moodle included support for compliance with the GDPR. This support allows the terms of service about data confidentiality and privacy for the Moodle installation to be configured. Moodle will ask the students to accept the privacy settings and will keep track of their choice. Those who do not accept the terms will not be able to use the service.
This all or nothing approach is not taking into consideration the full extension of the right to object to certain kinds of treatment of personal information. A student can object to sharing her or his information with peer students for several valid reasons (for example victims of (cyber)bullying or gender violence, or for whatever reason need to remain anonymous). Two of the interviewed lawyer profiles say that these gender violence cases are exceptions; even anonymity is needed due to work reasons. To give a solution to these undesired and exceptional situations, we should re-design our virtual campuses and services around these exceptions. Keep the following considerations in mind:
For the last 40 years, we have been redesigning our brick and mortar campuses and schools to make them accessible for persons with disabilities.
We are making the students (unintentional) custodians of the personal information of their peers and enabling them to be digital surveillance agents. In cyber-bullying or gender violence scenarios, this is scary.
Moodle offers two plugins to address GDPR compliance: Policies [
13] and Data Privacy [
14]. The Policies’ plugin provides:
A new user login process.
Multiple policies definition (site, privacy, third parties, etc.).
User consent tracking.
Policy updates and version management.
The Data Privacy’s plugin provides:
The workflow for users to submit requests for data access and deletion.
To Moodle administrators and data protection delegates, options for processing user requests.
Options to configure retention period for data stored on a Moodle site.
Both plugins resolve some aspects pointed out by the GDPR, however, and as noted, do not allow a user to be anonymous. Moreover, they offer an all-or-nothing approach, where students only have the option of accepting all the conditions if they want to enter the learning platform. Exceptions in Moodle cannot be solved as there is no functionality to do so.
Based on our methodology, we implemented a plugin that pseudonymizes students’ data. The pseudonymization consists of assigning an alias to a student such as a double or multiple identities associated with a specific course. This approximation allows students to remain anonymous in any single course, feel comfortable with the solution, act freely with no pressure in bullying or gender violence situations, and log in easily with their aliases.
In summary, our key contributions are as follows:
We provide a Moodle opensource implementation in Moodle, named Protected users, that solves the presented problem for undesired situations in online education such as cyber-bullying, which also complies with the GDPR.
We want the solution to be installed and uninstalled at the convenience of the Moodle administrator.
We develop a working prototype based on Moodle’s two privacy plugins (Policies and Data Privacy). Building on already tested features is faster than developing without reference.
We avoid modifying the Moodle source code or delivering an update patch.
We choose to develop a plugin that is operable for this format as opposed to others, to solve the problem easily, for both Moodle managers and students with a low technical profile.
2. Materials and Methods
Our aim is to design and implement a solution based on a student’s data pseudonymization through aliases to enable adequate levels in confidentiality issues imposed by the GDPR in regard to students’ personal data during the use of Learning Analytics in Virtual Learning Environments.
We divided the process into two phases:
The first phase has a qualitative epistemology focus, where a series of interviews are carried out with actors from the educational context, and legal to collect perceptions about our second identity in VLEs.
The second phase is framed in an iterative and incremental methodological proposal to develop an evolutionary prototype of a software solution. In this second phase, we developed a prototype that allows us to exercise specific legal rights not currently available in a virtual learning environment such as Moodle and detected in the first phase.
We chose to work with Moodle as the VLE platform to create the prototypes of the detected problems because it is the most used platform in Spain. According to Hill [
15], more than 65% of VLE installations in Europe are Moodle.
2.1. First Phase
In order to collect perceptions of the use of aliases to protect the anonymity of users in online learning processes, we chose a qualitative approach through the design and execution of a series of structured interviews.
This process is framed within the possibilities and area of influence of the field known as User Experience [
16,
17]. Contributions are collected from different user perspectives to make a development decision based on the results. Consequently, different interviews are conducted with different profiles to ensure a result that is consistent with the observations and perceptions of users in VLEs. This process consists of direct questioning interviews, online questionnaires and finally, Bipolar Laddering (BLA) [
18], a mixed combination that has previously demonstrated its scientific validity in the evaluation of all types of methodology and systems applied to education without the need of a large sample of participants [
19,
20,
21,
22]. This first approach will serve to analyze the validity of the use of aliases in relation to the GDPR.
2.1.1. Interviews with A Legal Profile
Below is the script of the interview conducted with experts from the legal field related to personal data protection laws.
Table 1 shows the structure of the interview, and
Table 2 shows the questions of the interview with the experts on legality in data protection matters. The answers (n = 3) can be found in the
Supplementary Material section and are analyzed in the Results section.
2.1.2. The Results of the Survey Conducted on Students
Below is the script of the survey conducted to students.
Table 3 shows the structure of the survey,
Table 4 shows the questions of the survey. The answers (n = 110) are analyzed in the Results section.
2.1.3. Interviews with Moodle Technical Administrators
Below is the script of the interview conducted with Moodle technical administrators.
Table 5 shows the structure of the interview, and
Table 6 shows the questions of the interview. The answers (n = 5) can be found in the
Supplementary Material section and are analyzed in the Results section.
2.1.4. Interviews with Data Privacy Officers
Below is the script of the interview conducted with Data Privacy Officers (DPO).
Table 7 shows the structure of the interview, and
Table 8 shows the questions of the interview. The answers (n = 4) can be found in the
Supplementary Material section and are analyzed in the Results section.
2.1.5. Interviews with Teachers
Below is the script of the interview conducted with teachers.
Table 9 shows the structure of the interview, and
Table 10 shows the questions of the interview. The answers (n = 13) can be found in the
Supplementary Material section and are analyzed in the Results section.
2.2. Second Phase
Moodle offers the plugins Policies and Data Privacy to help Moodle installations comply with the GDPR. The applied methodology builds on these publicly available plugins. Hence, both architecture’s plugins are used to develop our solution. The plugin Policies is used to set the access point of our plugin in the administration console of the DPO. The Data Privacy plugin is used to set roles and permission needed to use the plugin, so our plugin uses the same checking process. In every and each script of our plugin that needs to assure that the DPO is authorized to perform the action, a check is performed through the use of the already installed Data Privacy plugin using the following piece of code:
if (!\tool_dataprivacy\api::is_site_dpo($USER->id)) {
$message = get_string(’privacyofficeronly’, ’tool_dataprivacy’, $dponamestring);
echo $OUTPUT->notification($message, ’error’);
}
We envision DPOs to use in our work and help students avoid situations of harassment and cyber-bullying. A student needs to make an explicit request of anonymity to the DPO (or designed responsible) to enable an alias user. The alias user is associated with a course or multiple courses so students can be anonymous in each of them. To do so, we consider a tree architecture to enforce anonymity by request.
Figure 1 shows the tree architecture that the plugin implements to allow the DPO the approval or denial of students’ anonymity requests.
Figure 2 shows the tree architecture that the plugin implements to allow the DPO the creation of aliases and course assigning.
The table relationship design shown in
Figure 3 shows some of the tables created during the installation of the Moodle’s Policies and Data Privacy plugins, and the only table created by our Protected Users plugin.
The design demonstrates how the three plugins depend on the user table mdl_user. The DPO manages:
The students’ acceptance of privacy policies and legal notices through the Policies plugin, which uses the tables mdl_tool_policy and mdl_tool_policy_acceptances.
The student’s data requests through the Data Privacy plugin, which uses the table mdl_dataprivacy_request.
The student’s alias and course assignations through our Protected Users plugin, which uses the table mdl_tool_pusers_aliasusers.
The mdl_tool_pusers_aliasusers table stores data for each alias assigned to a student. In this table, there are stored an identifier for:
The student’s user who made the request.
The alias’ user to log in anonymously.
The DPO’s user who performed the assignment.
All the prior specifications are integrated into the implementation shown in the Results section.
3. Results
It is considered that every user of a VLE can have the opportunity to anonymize her or his identity in accordance with the data protection rights of natural persons and pseudonymization set out in points of the regulation 1, 6 and 28 of the GDPR. Therefore, the use of aliases to protect the anonymity of a user in a virtual learning environment is a correct approach to ensure an adequate degree of anonymity for VLE users. This is because pseudonymized data continues to be personal data that identifies a person, and its use is correct within the current legislation to ensure an appropriate level of confidentiality of the personal data of those affected.
Answers from legal experts denote a positive use of user aliases as an anonymity assurance for a user in a VLE. Consequently, the solution to aliases makes complete sense in online learning. However, we need to define the perception of trust that this approach generates in the different roles of users of a VLE. Otherwise, our solution could be mistrusted. Hence, we interviewed and surveyed different VLE user roles.
The results of the students’ survey, shown at
Figure 4,
Figure 5, and
Figure 6, highlight that a large percentage of students feel comfortable using an alias (84%), and indeed many have already used it (76%), and a high percentage of students would use it on an online course (69%).
The results of interviews with teachers manifest a positive perception about the use of user aliases. Furthermore, the use of aliases by students generates confidence in solving in-classroom social problems. In general, teachers consider the use of aliases as a valid and very simple solution. Some teachers’ perceptions indicate that aliases can prove difficult or limit some kind of classroom activities if they ignore the students with aliases.
The results of the interviews with Moodle technical administrators highlight that the use of aliases is perceived as positive in those environments that require student participation and interaction. Some answers are against the default use of aliases. However, the use of aliases depending on the environment and/or circumstances is perceived as convenient. The format of the solution is debatable, whether it is distributable as a plugin or as product functionality, although there is a tendency towards the latter. This position is based on the logical fact that functionality integrated into the product is preferable since it has direct support from the supplier and will evolve in line with product updates. Despite this trend, the use of the solution as a plugin is considered positive due to its simplicity of installation and uninstallation.
The DPO profiles consider the use of aliases as positive in determined cases such as when seeking to avoid spam. However, there is uncertainty about being able to handle a large volume of requests and technical support is proposed as a possible assistant. It is inferred that it is acceptable for the Data Privacy Officer, or members of her or his department, to manage the requests and assignation of aliases, but not the creation of user aliases.
After the analysis of the interviews conducted on different types of VLE user profiles, we can conclude that assigning an alias to a user of a VLE generates enough confidence to foster the development of a plugin as a potential solution to VLE students’ anonymity requests. The results of the analysis are used to develop the solution where:
The DPO (or another person of their team as stated in the answers) is the only one who has the permission to access data requests and assign aliases.
Technical administrators are the only ones who can create aliases (as the DPO stated in the answers).
The students have access to an alias in an easy manner.
3.1. Implementation
In a Moodle environment, all students registered on a determined course can see who is enrolled. Moreover, students also see the coursemates’ public profile which usually contains personal data. We aim to provide students with digital mechanisms to execute their right of anonymity in any course. Accordingly, we have developed a plugin to help the DPO to manage aliases and to allow students to log in with those aliases.
In this work, we present an open source plugin implementation of our solution named Protected users [
23]. Moodle administrators can install the plugin Protected users under their supervision and criteria.
We developed the plugin to assure the anonymity of students while complying with the GDPR. For this reason, we named the plugin as Protected users, to imply that there is the need to protect students in Moodle that require special attention.
The final development consisted of a total of 35 files with a total of 2778 lines of code. The technologies used have been heterogeneous, some of them enforced by the LMS environment in which the plugin runs, both frontend and backend, and compatibility requirements when building on top of the Policies and Data Privacy plugins.
Table 11 shows the summary of programming languages, affected files, and lines of code written.
The plugin developed is functionality. However, considering possible design issues, we have taken the “cognitive path” approach [
24]. In this way, the original design of the screens is carried out before moving on to a usability validation phase. The validation of usability is a long process that is transferred to future works. The plugin design undergoes two evolutions before being functional and ready for a first release. We proceed to expose its evolution and final state.
3.1.1. First Design
In the first stage, we propose the creation of a new special role that allows students to configure what they want to be shown publicly in their profile. This proposal requires a modification in the source code of Moodle in order to be fully functional. Therefore, we discarded the development of this stage as we consider it a contradiction to our aim. Nevertheless, we show the designs of the different screens to foster Moodle to integrate this proposal in future updates.
Figure 7 shows the flow diagram of the plugin in its first design.
The Moodle administrator can create a student role with the new profile management permissions.
The Moodle administrator assigns the role to the student and the course. Then the student can hide or show personal data at their own convenience.
The student manages the options of the anonymity of his data from the header of the course.
3.1.2. First Evolution
In the second stage, we eliminate the excessive granularity in the anonymity configuration for the student profile. We focus on assigning an alias to a student to connect to any course anonymously. We make a series of decisions consisting of:
Eliminating special permissions and roles assignable to students.
Assigning a user alias for any students who need anonymization.
Transferring alias management responsibility to the DPO.
Allowing a student to log in with her aliases from the main page of the platform.
The above decisions allow the student, considered a protected user, to voluntarily communicate the requirement of anonymity in the course s/he wishes to the DPO. It is the DPO who creates an alias and assigns it to the protected user. The protected user can then automatically configure the aliases from her or his Moodle student profile.
Figure 8 shows the flow diagram in this first evolution of our plugin.
The Moodle administrator assigns alias management permissions to the DPO.
The student to be protected uses the contact form to send the DPO an anonymity request.
The DPO manages the requests, studies the cases, and validates or rejects them.
The DPO assigns different aliases to the student to be protected.
The protected user logs in with her alias from the main page.
3.1.3. Final State
In the third stage, we make different changes to improve the interface and the process of management, assignment, and log in with the aliases. We eliminate the Moodle administrator intermediation, make the management of the alias easier for the DPO, and we enable students to log in with the protected users’ aliases from their student profile. We aim to show the information in a form which is as simple, minimalist, and clear as possible. The development of the interface ends in this second evolution.
Figure 9 shows the flow diagram in this second evolution of our plugin.
The DPO manages the requests sent from students. Afterwards, DPO studies the cases and validates or rejects them (see
Figure 10).
The DPO assigns the aliases to the students (see
Figure 11).
The protected user logs in to her or his alias from an option on the profile page (see
Figure 12 and
Figure 13).
4. Discussion
Our implementation of the solution in plugin format demonstrates that it is possible to solve specific privacy and identity protection problems in LMSs. Our plugin allows any student to request the DPO to ensure their privacy in the LMS through an alias.
These cases were considered exceptions and were not contemplated in the LMS, until our development. On the one hand, we bring advances to the area. On the other hand, we open up new sustainable possibilities for the implementation of solutions at the LMS level.
The work is restricted to the possibilities of governance of LMS by administrators and our position as external developers of the Moodle platform. We are aware that the ideal scenario for a Moodle administrator is the integration of our solution as part of Moodle instead of it being offered as a plugin. After the presentation of the plugin in the Moodlemoot Global 2019 [
25], we hope to start conversations with Moodle HQ to propose such integration in future versions of the LMS. Meanwhile, Moodle administrators can install and uninstall our plugin at their convenience, both when the problem arises or before it.
We use Moodle as the development platform due to different reasons. First, to demonstrate that the proposal can be developed in an LMS. Second, Moodle is an Open Source LMS and has an architecture that supports authentication plugins and extensions for the administration dashboard. Third, Moodle is the most used LMS in Spain. Fourth, our centers are using Moodle as the main LMS. Fifth, the projects we are executing in collaboration with different schools use this system. Hence, we adopted Moodle as our work standard for future research sample collection.
Moreover, our proposed solution is replicable to other open LMSs. Therefore, similar approaches could be implemented in other Open Source LMSs like Sakai or Canvas.
For closed source systems like Blackboard, it is not possible to do this kind of customization beyond Blackboard’s developers itself. However, the functionalities of the plugin can be implemented outside the LMS. With this externalized approach, all the aliases need to be managed in a software layer outside the LMS. The LMS will host alias users as if they were real. The management of grades for students with aliases would be more cumbersome depending on the way the LMS is integrated with the Academic Information System.
Our proposed plugin provides a simpler architecture that handles all the complexity.
5. Conclusions
In the present work, we underline the importance for LMSs to comply with the GDPR laws. This law regulates the processing of personal data of students. We show that the LMS platforms do not completely implement the GDPR requirements. For example, Moodle provides the institution with the opportunity to present privacy policies and terms of use as digital contracts. At the same time, the institution can track students who have accepted their digital contracts and prohibit access to those who have not yet done so.
Access to Moodle, therefore, implies prior acceptance of digital contracts. However, this acceptance does not provide anonymity to students. In detriment to some students, this implies public exposure of their digital student profiles, as well as access to other academic data of their peers. A student using Moodle cannot protect her or his identity from other students. This conflicts with students who may need to remain anonymous for justifiable personal reasons, such as gender-based violence or a post in public sectors.
The LMS is legally regulated by the GDPR, which requires institutions to offer safe anonymity to students who justifiably request it. In our work, we propose an easy and elegant solution to the problem in plugin format. Our contribution provides Moodle with a plugin that solves the problem presented. The solution allows Moodle system administrators to install and uninstall the plugin at their convenience. The plugin is developed based on developments provided by Moodle, ensuring compatibility with the system.
We are aware that the ideal solution is to integrate the code of our solution into the Moodle code in future distributions of the platform. We decided to develop a plugin in the same way Moodle did in order to resolve aspects of the GDPR, and started conversations to make further integration possible in the near future.