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

Hide label resource completely if it is not available for current user, even in case of "Displayed greyed-out" setting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 2.4.7, 2.5.3, 2.6, 2.7.7, 2.8.5, 2.9.2
    • Resource, Restrict access
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Hide

      Put anything you want hidden from the students until some condition comes true (achievement, date, etc.) into a 'Page' activity type.

      Show
      Put anything you want hidden from the students until some condition comes true (achievement, date, etc.) into a 'Page' activity type.
    • Easy
    • Hide
      1. enable 'Enable conditional access' at the site level
      2. in a course, create a label
      3. in the label settings, add some text
      4. in the label settings, add a restriction, e.g. 'Date from <some date in the future>', leave the "eye" open ("Displayed greyed-out")
      5. save the new label
      6. as a student, check that you can not see the label's contents
      7. as a teacher, check that you can see the label's contents and the availability restriction message
      Show
      enable 'Enable conditional access' at the site level in a course, create a label in the label settings, add some text in the label settings, add a restriction, e.g. 'Date from <some date in the future>', leave the "eye" open ("Displayed greyed-out") save the new label as a student, check that you can not see the label's contents as a teacher, check that you can see the label's contents and the availability restriction message

      When an html link is placed in a label resource and the label is configured with restricted access to some future date with the grayed-out option, the link remains active for student and guest roles.

      Expected function: Links in a label restricted with future access should not be active.

            Unassigned Unassigned
            fesaner Floyd Saner (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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