Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-62202

Confusing Privacy and policies settings move

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      IMPORTANT: Use both, clean and boost themes.

      Setup (only for Moodle 3.3 and 3.4)

      1. Login as admin.
      2. Install last version of the tool_dataprivacy (https://moodle.org/plugins/tool_dataprivacy) and tool_policy (https://moodle.org/plugins/tool_policy) plugins.
      3. Go to "Site administration / Users / Define roles"
      4. Create a Data Protection Officer role with the following settings:
        Short name dpo
        Custom full name Data Protection Officer
        Role archetype Guest
        Context types where this role may be assigned System
        Capability "moodle/site:configview" (Allow)
        Capability "tool/dataprivacy:managedatarequests" (Allow)
        Capability "tool/dataprivacy:managedataregistry" (Allow)
        Capability "moodle/category:viewhiddencategories" (Allow)
        Capability "moodle/course:viewhiddencourses" (Allow)
        Capability "moodle/course:view" (Allow)
        Capability "moodle/course:viewhiddenactivities" (Allow)

      Testing scenario 1

      1. Go to "Site administration".
        • CHECK there is no "Privacy and policies" section under the "Site administration" tab.
        • CHECK there is no "Privacy and policies" tab.
      2. Click the "Users" tab.
        • CHECK there is a "Privacy and policies" section.

      Testing scenario 2

      1. Continuing from the previous test, click "Policy settings" under the "Privacy and policies" section.
      2. Change "Site policy handler" to "Policies (tool_policy)".
      3. Go to "Site administration".
        • CHECK there is no "Privacy and policies" section under the "Site administration" tab.
        • CHECK there is no "Privacy and policies" tab.
      4. Click the "Users" tab.
        • CHECK there is a "Privacy and policies" section.
        • CHECK the "Privacy and policies" section now contains links to "Manage policies" and "User agreements".

      Testing scenario 3

      1. Still as admin
      2. Go to "Site administration / Users / Permissions / Assign system roles"
      3. Assign a user u1 to the Manager role.
      4. Login as manager.
      5. Go to "Site administration".
        • CHECK there is no "Privacy and policies" section under the "Site administration" tab.
        • CHECK there is no "Privacy and policies" tab.
      6. Click the "Users" tab.
        • CHECK there is a "Privacy and policies" section.

      Testing scenario 4

      1. Log in as admin.
      2. Go to "Site administration / Users / Permissions / Assign system roles"
      3. Assign a user u2 to the DPO role.
      4. Login as the DPO.
      5. Go to "Site administration".
        • CHECK there is no "Privacy and policies" section under the "Site administration" tab.
        • CHECK there is no "Privacy and policies" tab.
      6. Click the "Users" tab.
        • CHECK there is a "Privacy and policies" section.
      Show
      IMPORTANT : Use both, clean and boost themes. Setup (only for Moodle 3.3 and 3.4) Login as admin. Install last version of the tool_dataprivacy ( https://moodle.org/plugins/tool_dataprivacy ) and tool_policy ( https://moodle.org/plugins/tool_policy ) plugins. Go to " Site administration / Users / Define roles " Create a Data Protection Officer role with the following settings: Short name dpo Custom full name Data Protection Officer Role archetype Guest Context types where this role may be assigned System Capability "moodle/site:configview" (Allow) Capability "tool/dataprivacy:managedatarequests" (Allow) Capability "tool/dataprivacy:managedataregistry" (Allow) Capability "moodle/category:viewhiddencategories" (Allow) Capability "moodle/course:viewhiddencourses" (Allow) Capability "moodle/course:view" (Allow) Capability "moodle/course:viewhiddenactivities" (Allow) Testing scenario 1 Go to "Site administration". CHECK there is no "Privacy and policies" section under the "Site administration" tab. CHECK there is no "Privacy and policies" tab. Click the "Users" tab. CHECK there is a "Privacy and policies" section. Testing scenario 2 Continuing from the previous test, click "Policy settings" under the "Privacy and policies" section. Change "Site policy handler" to "Policies (tool_policy)". Go to "Site administration". CHECK there is no "Privacy and policies" section under the "Site administration" tab. CHECK there is no "Privacy and policies" tab. Click the "Users" tab. CHECK there is a "Privacy and policies" section. CHECK the "Privacy and policies" section now contains links to "Manage policies" and "User agreements". Testing scenario 3 Still as admin Go to " Site administration / Users / Permissions / Assign system roles " Assign a user u1 to the Manager role. Login as manager. Go to "Site administration". CHECK there is no "Privacy and policies" section under the "Site administration" tab. CHECK there is no "Privacy and policies" tab. Click the "Users" tab. CHECK there is a "Privacy and policies" section. Testing scenario 4 Log in as admin. Go to " Site administration / Users / Permissions / Assign system roles " Assign a user u2 to the DPO role. Login as the DPO. Go to "Site administration". CHECK there is no "Privacy and policies" section under the "Site administration" tab. CHECK there is no "Privacy and policies" tab. Click the "Users" tab. CHECK there is a "Privacy and policies" section.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-62202-master

      Description

      As noticed on the QA testing site:

      1. Log in as admin and go to 'Policy settings'
      2. Set the site policy handler to tool_policy and save changes.

      Expected result: Privacy and policies settings pages remain in the same place in the Site administration (under Language in the Site administration tab).

      Actual result: You have to be very observant to notice that Privacy and policies is now a new tab in the Site administration!

      If you set the site policy handler back to default (core), the Privacy and policies settings pages go back to their original location in the Site administration (under Language in the Site administration tab).

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h