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

A new popup for showing the policy links to guests

XMLWordPrintable

    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • 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”).  

      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. 

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.