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

A new popup for showing the policy links to guests

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Setup

      1. Install the tool_policy tool.
      2. Login as admin.
      3. Enable guests access.
      4. Access to "Site administration | Privacy and policies | Policy settings" and set site policy hander to “Policies (tool_policy)”.
      5. Create a policy for "All users", add some images to summary and full text fields and leave it as Draft.
      6. Create a policy for "Guests" and leave if as Draft.
      7. Create a policy for "Registered users" and leave it as Draft.
      8. Create a course and enable guests access.

      Scenario 1

      1. Log in as guest and access to a course with guests access enabled.
        • CHECK guest can access to the course.
        • CHECK there is no popup message displayed at the end of the page, with the list of guest policies.

      Scenario 2

      1. Login as admin.
      2. Set status to "Active" to the policy for "Guests".
      3. Log in as guest and access to a course with guests access enabled.
        • CHECK guest can access to the course.
        • CHECK a popup message is displayed at the end of the page, with the name of the active policy for guests.
      4. Click over the policy name.
        • CHECK the policy name and content are displayed in a modal window.

      Scenario 3

      1. Login as admin
      2. Set status to "Active" to all pending draft policies created previously.
      3. Log in as guest and access to a course with guests access enabled.
        • CHECK a popup message is displayed at the end of the page, with 2 policy names (the ones configured for “Guests” and “All users”).

       

      Show
      Setup Install the tool_policy tool. Login as admin. Enable guests access. Access to "Site administration | Privacy and policies | Policy settings" and set site policy hander to “Policies (tool_policy)”. Create a policy for "All users", add some images to summary and full text fields and leave it as Draft. Create a policy for "Guests" and leave if as Draft. Create a policy for "Registered users" and leave it as Draft. Create a course and enable guests access. Scenario 1 Log in as guest and access to a course with guests access enabled. CHECK guest can access to the course. CHECK there is no popup message displayed at the end of the page, with the list of guest policies. Scenario 2 Login as admin. Set status to "Active" to the policy for "Guests". Log in as guest and access to a course with guests access enabled. CHECK guest can access to the course. CHECK a popup message is displayed at the end of the page, with the name of the active policy for guests. Click over the policy name. CHECK the policy name and content are displayed in a modal window. Scenario 3 Login as admin Set status to "Active" to all pending draft policies created previously. Log in as guest and access to a course with guests access enabled. CHECK a popup message is displayed at the end of the page, with 2 policy names (the ones configured for “Guests” and “All users”).  
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE

      Description

      If enabled, show guest users a popup (similar to the one used for cookie-law notifications commonly), for showing the policy links which affect them. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sarjona Sara Arjona (@sarjona)
                Reporter:
                sarjona Sara Arjona (@sarjona)
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  19/Mar/18