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

Add policy link to the site footer

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      IMPORTANT: Use both, clean and boost themes.

      Setup

      1. Login as admin
      2. Access to "Site administration | Privacy and policies | Policy settings" and set site policy handler to “Policies (tool_policy)”.
      3. Create a "Site policy" and set as active.
      4. Create a "Privacy policy" and set as active.
      5. Create a "Other policy" and leave it as draft.
      6. Logout.

      Testing scenario 1

      1. Access to the site (you don't need to login).
        • CHECK the footer contains a "Policies" link on the footer, under the Moodle logo.
      2. Click the "Policies" link on the footer.
        • CHECK all the "public" policies are displayed in a page, with an index on the top page. In this case, only the "Site policy" and the "Privacy policy" has to be shown.
        • CHECK that draft or archived policies don't appear (for instance, the "Other policy" hasn't to be displayed).

      Testing scenario 2

      1. Login as admin.
      2. Access to "Site administration | Mobile app | Mobile settings".
      3. Mark as checked the "Enable web services for mobile devices" setting.
      4. Access to "Site administration |  Mobile app | Mobile appearance".
      5. Set the "App download page" (you can use, for instance, the default value "https://download.moodle.org/mobile").
      6. Logout.
      7. Access to the site (you don't need to login).
        • CHECK the footer contains a "Policies" link on the footer, under the "Get the mobile app".
      8. Click the "Policies" link on the footer.
        • CHECK only the "public" policies are displayed in that page.

      Testing scenario 3

      1. Access to "Site administration | Development | Debugging".
      2. Select "DEVELOPER: extra Moodle debug messages for developers" in the "Debug messages" setting and save the changes.
        • CHECK the footer contains a "Policies" link on the footer, under the "Get the mobile app" and before "Purge all caches".
      3. Click the "Policies" link on the footer.
        • CHECK only the "public" policies are displayed in that page.

      Testing scenario 4

      1. Login as admin
      2. Access to "Site administration | Privacy and policies | Policy settings".
      3. Set site policy handler to “Default (core)”.
      4. Logout.
      5. Access to the site (you don't need to login).
        • CHECK the footer doesn't contain any "Policies" link on the footer.
      Show
      IMPORTANT : Use both, clean and boost themes. Setup Login as admin Access to "Site administration | Privacy and policies | Policy settings" and set site policy handler to “Policies (tool_policy)”. Create a "Site policy" and set as active. Create a "Privacy policy" and set as active. Create a "Other policy" and leave it as draft. Logout. Testing scenario 1 Access to the site (you don't need to login). CHECK the footer contains a "Policies" link on the footer, under the Moodle logo. Click the "Policies" link on the footer. CHECK all the "public" policies are displayed in a page, with an index on the top page. In this case, only the "Site policy" and the "Privacy policy" has to be shown. CHECK that draft or archived policies don't appear (for instance, the "Other policy" hasn't to be displayed). Testing scenario 2 Login as admin. Access to "Site administration | Mobile app | Mobile settings". Mark as checked the "Enable web services for mobile devices" setting. Access to "Site administration |  Mobile app | Mobile appearance". Set the "App download page" (you can use, for instance, the default value " https://download.moodle.org/mobile "). Logout. Access to the site (you don't need to login). CHECK the footer contains a "Policies" link on the footer, under the "Get the mobile app". Click the "Policies" link on the footer. CHECK only the "public" policies are displayed in that page. Testing scenario 3 Access to "Site administration | Development | Debugging". Select "DEVELOPER: extra Moodle debug messages for developers" in the "Debug messages" setting and save the changes. CHECK the footer contains a "Policies" link on the footer, under the "Get the mobile app" and before "Purge all caches". Click the "Policies" link on the footer. CHECK only the "public" policies are displayed in that page. Testing scenario 4 Login as admin Access to "Site administration | Privacy and policies | Policy settings". Set site policy handler to “Default (core)”. Logout. Access to the site (you don't need to login). CHECK the footer doesn't contain any "Policies" link on the footer.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-62286-master

      Description

      Anywhere in the site the policy statements need to be linked from the site footer (accessible for everyone on the landing page, or in the site as a guest, or as an authenticated user). For both Boost and Clean themes.

      1. Add a single link called ‘Policies’ to the site footer
      2. Clicking on that link should go to a publically available page on the site (i.e. you don’t need to be logged in to access this page).
      3. This page should display a linked index listing each active policy {NAME,TYPE} [Link to text]
      4. Clicking each link will navigate the user to the policy summary text and full text below it.
      5. Draft or inactive policies are not shown

       

      E.g.

       

      Policies

      1. {Privacy policy name, Privacy policy} [link to overall privacy policy below]
      2. {Site policy name, Site policy} [link to site policy below]
      3. {3rd party policy name, 3rd Party [policy] [link to 3rd party policy below]

       

      Overall privacy policy

      Summary

      INSERT SUMMARY TEXT

      Full policy

      INSERT FULL POLICY TEXT

       

      Site policy

      Summary

      INSERT SUMMARY TEXT

      Full policy

      INSERT FULL POLICY TEXT

        Attachments

        1. BOOST THEME.PNG
          BOOST THEME.PNG
          69 kB
        2. CLEAN THEME.PNG
          CLEAN THEME.PNG
          100 kB
        3. policiesfooter.png
          policiesfooter.png
          9 kB
        4. Screen Shot 2018-05-01 at 1.08.59 pm.png
          Screen Shot 2018-05-01 at 1.08.59 pm.png
          129 kB
        5. Screen Shot 2018-05-01 at 1.09.50 pm.png
          Screen Shot 2018-05-01 at 1.09.50 pm.png
          159 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  17/May/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h