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

Add the workflow for allowing users to agree to the policies

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.

      Scenario 1

      1. Log in as a user who has never accessed before to this site.
        • CHECK the user can access to the site and no consent page is displayed.

      Scenario 2

      1. Login as admin
      2. Set status to "Active" to all draft policies created previously.
      3. Log in as a user who has never accessed before to this site.
      4. Read the first policy and click Next.
      5. Read the second policy and click Next.
      6. Don't agree to none of the policies and click over Next.
        • CHECK the consent page is loaded again and a warning message is shown warn the user he/she has to agree to all these policies before continuing.
      7. Agree to only one of the policies and click over Next.
        • CHECK the consent page is loaded again and a warning message is shown to let to know the user he/she has to agree to all these policies before continuing.
      8. Uncheck the previous policy box, agree to the other policy and click over Next.
        • CHECK the consent page is loaded again and a warning message is shown to let to know the user he/she has to agree to all these policies before continuing.
      9. Logout and login again with the same user.
        • CHECK the first policy is displayed and the text “ Policy 1 out of 1“ is shown.
      10. Access to the profile from the user menu
        • CHECK the consent page is displayed instead of the profile page
      11. Agree to all the policies and click over Next.
        • CHECK the page is redirected to defaulthomepage.
      12. Access to “Policies and agreements” from the “Privacy and policies” section on the user profile.
        • CHECK the current site policies (2) are shown as agreed.

       

      Scenario 3

      1. Login as admin.
      2. Create a minor role and prohibit the “tool/policy:accept” permission.
      3. Create a user (minor1).
      4. Log in as the minor1 user.
        • CHECK the first policy is displayed and the text “ Policy 1 out of 2“ is shown.
      5. Login as admin and assign the minor role to the minor1 user.
      6. Login as the minor1 user.
        • CHECK the “No permission to agree to the policies” page is displayed and the user can’t access courses, profile.

       

      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. Scenario 1 Log in as a user who has never accessed before to this site. CHECK the user can access to the site and no consent page is displayed. Scenario 2 Login as admin Set status to "Active" to all draft policies created previously. Log in as a user who has never accessed before to this site. Read the first policy and click Next. Read the second policy and click Next. Don't agree to none of the policies and click over Next. CHECK the consent page is loaded again and a warning message is shown warn the user he/she has to agree to all these policies before continuing. Agree to only one of the policies and click over Next. CHECK the consent page is loaded again and a warning message is shown to let to know the user he/she has to agree to all these policies before continuing. Uncheck the previous policy box, agree to the other policy and click over Next. CHECK the consent page is loaded again and a warning message is shown to let to know the user he/she has to agree to all these policies before continuing. Logout and login again with the same user. CHECK the first policy is displayed and the text “ Policy 1 out of 1“ is shown. Access to the profile from the user menu CHECK the consent page is displayed instead of the profile page Agree to all the policies and click over Next. CHECK the page is redirected to defaulthomepage. Access to “Policies and agreements” from the “Privacy and policies” section on the user profile. CHECK the current site policies (2) are shown as agreed.   Scenario 3 Login as admin. Create a minor role and prohibit the “tool/policy:accept” permission. Create a user (minor1). Log in as the minor1 user. CHECK the first policy is displayed and the text “ Policy 1 out of 2“ is shown. Login as admin and assign the minor role to the minor1 user. Login as the minor1 user. CHECK the “No permission to agree to the policies” page is displayed and the user can’t access courses, profile.  

      Change the workflow for allowing users to agree to the policies if needed.

            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.