-
Functional Test
-
Minor
-
Moodle 4.2
-
None
Test requirements:
- A site with a privacy officer role set up as described in the documentation Privacy officer role. A user should be assigned the role of privacy officer in the system context.
- The 'Contact privacy officer' checkbox to be ticked in 'Privacy settings' in the Site administration.
- A site with a parent role set up as described in the documentation Parent role which also has the capability tool/dataprivacy:makedatarequestsforchildren allowed. A user should be assigned the role of parent to another user in the user context.
You may use the QA testing site for this test, which has privacy officer and parent roles already set up with users assigned. The site also has the 'Contact privacy officer' checkbox ticked. The user with the parent role is parent to user Sam Student.
Test steps:
- Log in as the privacy officer and go to Data requests in the Site administration.
- Click the 'New request' button then in the form select a user to request data for, enter a comment and save changes.
- Verify that on the Data requests page the data request is listed with status 'Awaiting approval'.
- Log out then log in as a user with the role of parent for another user (their child).
- Go to your profile page and click the 'Data requests' link.
- Click the 'New request' button then in the form, search for your child to request data for.
- Verify that only your child is listed.
- Enter a comment and save changes.
- Verify that on the Data requests page, the message 'Your request has been submitted to the privacy officer' is displayed and your data request is listed with status 'Awaiting approval'.
- is a QA test written for
-
MDL-61899 Include tool_dataprivacy in core
- Closed