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

Users who have permission to view hidden chapters are not able to do that after turning editing off

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login as admin
      2. Create a course
      3. Turn on editing
      4. Create a book
      5. Create a Chapter and then make it a hidden chapter
      6. Make sure turn the editing off now
      7. Go back to the course page and click the book we have just created if you are an admin, also could try with users that are able to edit the book and view hidden chapters(Teachers), and the users only able to view hidden chapters(Non-editing teachers)
      8. Users who has permission to view hidden chapters should see the TOC and the chapter name in the TOC to be greyed out
      Show
      Login as admin Create a course Turn on editing Create a book Create a Chapter and then make it a hidden chapter Make sure turn the editing off now Go back to the course page and click the book we have just created if you are an admin, also could try with users that are able to edit the book and view hidden chapters(Teachers), and the users only able to view hidden chapters(Non-editing teachers) Users who has permission to view hidden chapters should see the TOC and the chapter name in the TOC to be greyed out
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
      MOODLE_37_STABLE-MDL-67524
    • Pull 3.8 Branch:
      MOODLE_38_STABLE-MDL-67524
    • Pull Master Branch:
      master-MDL-67524

      Description

      1. Login as admin
      2. Create a course
      3. Turn on editing
      4. Create a book
      5. Create a Chapter and then make it a hidden chapter
      6. Make sure turn the editing off now
      7. Go back to the course page and click the book we have just created
      8. Now, you should see a notice:

      Notice: No content has been added to this book yet.

      Expected result:

      Users who has permission to view hidden chapters should see the TOC and the chapter name in the TOC to be greyed out

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jan/20

                Time Tracking

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