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

Prepare tool_policy for integration in 3.5

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.5
    • 3.5
    • Privacy
    • MOODLE_35_STABLE
    • MOODLE_35_STABLE
    • wip-MDL-61864-master
    • Hide

      Policies management

      1. Go to Site administration > Privacy and policies > Policy settings
      2. TEST: Check that "Policies (tool_policy)" appears as an option of the "Site policy handler" field.
      3. Set the plugin as the site policy handler.
      4. TEST: Check that Site administration > Privacy and policies now contains two new items "Manage policies" and "User agreements"
      5. Go to Manage policies
      6. TEST: Use the management interface and check the general workflow of policy documents:
        • Create new policies
        • Set them as active versions
        • Edit policies with a minor modification
        • Edit a policy with a major modification (making a new version of the policy)
        • Set a new draft version as the new active one
        • Delete a draft version

      User agreement tests

      1. Prepare some policies with different target audience - one for all users, one for guests only, one for authenticated users only.
      2. Make all these policies active one
      3. Log in as guest
      4. TEST: Check that a dark box appears at the bottom of the page with a list of all active policies that apply to guest users (or all users).
      5. TEST: Check that clicking the policy name shows a modal with the policy text.
      6. Log in as a real user.
      7. TEST: Check that after logging in, you are asked to agree with all new policies that apply to authenticated users (or all users).
      8. TEST: Check that without agreeing to all policies, you can't use the site.
      9. Agree to all policies and go to you profile.
      10. TEST: Check that Privacy and policies section contains a link "Policies and agreements" that takes you to a report of all policies you agreed to.

      Acceptance reporting tests

      1. Visit the "User agreements" admin page.
      2. TEST: Check that the report filtering features work.
      3. TEST: Check that as the admin, you can mark policies as agreed on behalf of indiviudal users (by clicking the red cross icon for now, there is an issue to improve the actual UI) and also en-masse (by selecting them first and then using the bulk button).
      Show
      Policies management Go to Site administration > Privacy and policies > Policy settings TEST: Check that "Policies (tool_policy)" appears as an option of the "Site policy handler" field. Set the plugin as the site policy handler. TEST: Check that Site administration > Privacy and policies now contains two new items "Manage policies" and "User agreements" Go to Manage policies TEST: Use the management interface and check the general workflow of policy documents: Create new policies Set them as active versions Edit policies with a minor modification Edit a policy with a major modification (making a new version of the policy) Set a new draft version as the new active one Delete a draft version User agreement tests Prepare some policies with different target audience - one for all users, one for guests only, one for authenticated users only. Make all these policies active one Log in as guest TEST: Check that a dark box appears at the bottom of the page with a list of all active policies that apply to guest users (or all users). TEST: Check that clicking the policy name shows a modal with the policy text. Log in as a real user. TEST: Check that after logging in, you are asked to agree with all new policies that apply to authenticated users (or all users). TEST: Check that without agreeing to all policies, you can't use the site. Agree to all policies and go to you profile. TEST: Check that Privacy and policies section contains a link "Policies and agreements" that takes you to a report of all policies you agreed to. Acceptance reporting tests Visit the "User agreements" admin page. TEST: Check that the report filtering features work. TEST: Check that as the admin, you can mark policies as agreed on behalf of indiviudal users (by clicking the red cross icon for now, there is an issue to improve the actual UI) and also en-masse (by selecting them first and then using the bulk button).

      Prepare plugin tool_policy for integration in 3.5

      *Removed files:

        • README.md
        • LICENSE.md
        • .travis.yml
      • version.php changed to look like a standard plugin

        1. 1.PNG
          1.PNG
          109 kB
        2. 2.PNG
          2.PNG
          121 kB
        3. 3.PNG
          3.PNG
          74 kB

            mudrd8mz David Mudrák (@mudrd8mz)
            marina Marina Glancy
            Marina Glancy Marina Glancy
            Andrew Lyons Andrew Lyons
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m

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