Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41024

Lessons Print All pages option print content that is hidden or shown in another group

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 19.0, 20.0 [Tentative]
    • Fix Version/s: 19.0, 20.0 [Tentative]
    • Component/s: Lessons
    • Labels:
      None
    • 19 status:
      Resolved
    • Test Plan:
      Hide

      Example:

      1. Create a site with at least 2 students
      2. Add one of the students to a group
      3. Go to Lesson Builder tool
      4. Add a text item (Like "Main Page Visible to All")
      5. Add a subpage with a text item on like "Subpage visible only to group")
      6. Go back to the main page, edit the subpage for the groups it's visible to (select the group you created)
      7. Add another subpage
      8. Add a text item (Like "Subpage visible in the future")
      9. Go back to the main page, edit the new subpage and click "Hide page until the following date (the page will be listed with the release date)" Select a date in the future.
      10. Hit Print all as the instructor all pages should display

      Now logoff and enter as a student in the group going to the Lesson

      1. The student only see the first text and subpage
      2. Click Print all, they should see only the first text and "Subpage visible only to a group"

      Now logoff and enter as the other student not in the group

      1. The student should only see the "Visible to All" text
      2. When clicking "Print Subpage" the student should also only see the "Visible to All text"

      The issue is that the students see text they shouldn't see

      Ideally the test would also verify that the students can see the subpage after the release date, but this is probably a separate test.

      Show
      Example: Create a site with at least 2 students Add one of the students to a group Go to Lesson Builder tool Add a text item (Like "Main Page Visible to All") Add a subpage with a text item on like "Subpage visible only to group") Go back to the main page, edit the subpage for the groups it's visible to (select the group you created) Add another subpage Add a text item (Like "Subpage visible in the future") Go back to the main page, edit the new subpage and click "Hide page until the following date (the page will be listed with the release date)" Select a date in the future. Hit Print all as the instructor all pages should display Now logoff and enter as a student in the group going to the Lesson The student only see the first text and subpage Click Print all, they should see only the first text and "Subpage visible only to a group" Now logoff and enter as the other student not in the group The student should only see the "Visible to All" text When clicking "Print Subpage" the student should also only see the "Visible to All text" The issue is that the students see text they shouldn't see Ideally the test would also verify that the students can see the subpage after the release date, but this is probably a separate test.

      Description

      In testing the new "Print All" feature it was discovered that subpage restrictions such as group and hidden status do not apply against this feature. Students are able to see all items, even those they should not have access to using this. This is a blocker that will be fixed prior to the 19.0 release.

        Gliffy Diagrams

          Attachments

          1. 12182018_instructor.gif
            12182018_instructor.gif
            18 kB
          2. 12182018_student_1.gif
            12182018_student_1.gif
            7 kB
          3. 12182018_student_2.gif
            12182018_student_2.gif
            6 kB
          4. 12182018_student_no_group.gif
            12182018_student_no_group.gif
            10 kB
          5. SAK-41024 - GeneralViewOK.png
            SAK-41024 - GeneralViewOK.png
            171 kB
          6. SAK-41024 - Printall.png
            SAK-41024 - Printall.png
            173 kB

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  jesusmmp Jesus Maria Mendez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code