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

Use the singular/plural form of the labels when revoking/consenting policies on behalf of a user

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5
    • Fix Version/s: 3.3.8, 3.4.5, 3.5.2
    • Component/s: Privacy
    • Labels:
    • Testing Instructions:
      Hide

      Setup

      1. Login as admin.
      2. Access to "Site administration | Privacy and policies | Policy settings".
      3. Set "Policies (tool_policy)" as Site policy hander.
      4. Create 2 policies (p1, p2) and set them as active.
      5. Create a 4 students (s1, s2, s3, s4).

      Testing scenarios

      1. Login as s1.
      2. Read all the policies (2), click the next button and accept them.
      3. Login as s2.
      4. Read all the policies (2), click the next button and accept them.
      5. Login in as Admin.
      6. Go to Site administration > Users > Privacy and policies > User agreements.
      Scenario 1
      1. Click on the "thick" icon in the overall column for s1.
        • make sure a 'Withdraw user consent' popup window is displayed.
        • make sure the labels are in plural form where multiple elements are present 
          • 'User'          s1
          • 'Policies'    p1, p2

      Note: Test this scenario with a user that haven't accepted the policies (ex. s3)

      Scenario 2
      1. Click on the "thick" icon in the p1 column for s1.
        • make sure a 'Withdraw user consent' popup window is displayed.
        • make sure the labels are in singular form 
          • 'User'       s1
          • 'Policy'     p1

      Note: Test this scenario with a user that haven't accepted the policies (ex. s3)

      Scenario 3
      1. Thick (select) s3 and s4 in the select column.
      2. Click on the 'Consent' button at the bottom of the page.
        • make sure a 'Give consent on behalf of user' popup window is displayed.
        • make sure the labels are in plural form 
          • 'Users'        s3, s4
          • 'Policies'     p1, p2
      Scenario 4
      1. Thick (select) s3 and s4 in the select column.
      2. Click on the 'Consent' button at the bottom of the page.
        • make sure a 'Give consent on behalf of user' popup window is displayed.
        • make sure the title of the popup window = "Give consent on behalf of user(s)"
        • make sure the content of the popup window = "I acknowledge that I have received a request to give consent on behalf of the above user(s)."
        • make sure the confirm button text = "Give consent".

       

      Show
      Setup Login as admin. Access to "Site administration | Privacy and policies | Policy settings". Set "Policies (tool_policy)" as Site policy hander. Create 2 policies (p1, p2) and set them as active. Create a 4 students (s1, s2, s3, s4). Testing scenarios Login as s1. Read all the policies (2), click the next button and accept them. Login as s2. Read all the policies (2), click the next button and accept them. Login in as Admin. Go to Site administration > Users > Privacy and policies > User agreements. Scenario 1 Click on the "thick" icon in the overall column for s1. make sure a 'Withdraw user consent' popup window is displayed. make sure the labels are in plural form where multiple elements are present   'User'          s1 'Policies'    p1, p2 Note: Test this scenario with a user that haven't accepted the policies (ex. s3) Scenario 2 Click on the "thick" icon in the p1 column for s1. make sure a 'Withdraw user consent' popup window is displayed. make sure the labels are in singular form   'User'       s1 'Policy'     p1 Note: Test this scenario with a user that haven't accepted the policies (ex. s3) Scenario 3 Thick (select) s3 and s4 in the select column. Click on the 'Consent' button at the bottom of the page. make sure a 'Give consent on behalf of user' popup window is displayed. make sure the labels are in plural form   'Users'        s3, s4 'Policies'     p1, p2 Scenario 4 Thick (select) s3 and s4 in the select column. Click on the 'Consent' button at the bottom of the page. make sure a 'Give consent on behalf of user' popup window is displayed. make sure the title of the popup window = "Give consent on behalf of user(s) " make sure the content of the popup window = "I acknowledge that I have received a request to give consent on behalf of the above user(s). " make sure the confirm button text = "Give consent ".  
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Epic Link:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-62342-master
    • Sprint:
      GDPR Followup Sprint 1

      Description

      In the "User agreements" page, if we're revoking/consenting to only a single policy or user, use appropriately the singular/plural form of the labels.

        Attachments

        1. Verified_Scenario3 and 4.PNG
          Verified_Scenario3 and 4.PNG
          15 kB
        2. Verified_Scenario2_S3.PNG
          Verified_Scenario2_S3.PNG
          14 kB
        3. Verified_Scenario2_S1.PNG
          Verified_Scenario2_S1.PNG
          15 kB
        4. Verified_Scenario1_S3.PNG
          Verified_Scenario1_S3.PNG
          14 kB
        5. Verified_Scenario1_S1.PNG
          Verified_Scenario1_S1.PNG
          15 kB
        6. screenshot-1.png
          screenshot-1.png
          38 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Sep/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 45 minutes
                  45m