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

"Share to MoodleNet" button shouldn't be displayed when it's not enabled

XMLWordPrintable

    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MOODLE_403_STABLE
    • MDL-80458-403
    • MDL-80458-main
    • Hide

      Note: This will be easier with 2 sessions open - one as admin, and the other as teacher.

      1. As admin, in site administration, ensure the enablesharingtomoodlenet experimental feature is disabled.
      2. As a teacher, navigate to a course, enable edit mode and press "Bulk actions".
      3. CONFIRM in the floating footer at the bottom of the page, there is no "Share to MoodleNet" option.
      4. As admin, enable the enablesharingtomoodlenet experimental feature.
      5. Refresh the teacher page and again press "Bulk actions".
      6. CONFIRM you now see the "Share to MoodleNet" option in the footer.
      7. As admin, remove the moodle/moodlenet:sharecourse capability from teachers.
      8. Refres the teacher page and again press "Bulk actions".
      9. CONFIRM the "Share to MoodleNet" feature is no longer available.
      Show
      Note: This will be easier with 2 sessions open - one as admin, and the other as teacher. As admin, in site administration, ensure the enablesharingtomoodlenet experimental feature is disabled. As a teacher, navigate to a course, enable edit mode and press "Bulk actions". CONFIRM in the floating footer at the bottom of the page, there is no "Share to MoodleNet" option. As admin, enable the enablesharingtomoodlenet experimental feature. Refresh the teacher page and again press "Bulk actions". CONFIRM you now see the "Share to MoodleNet" option in the footer. As admin, remove the moodle/moodlenet:sharecourse capability from teachers. Refres the teacher page and again press "Bulk actions". CONFIRM the "Share to MoodleNet" feature is no longer available.
    • 1
    • Team Hedgehog 2023 Review 4

      While demoing MDL-80249 to the team, we've seen the "Share to MoodleNet" button displayed in the bulk actions is always displayed, even when it's not configured properly and all the MoodleNet settings are disabled:

            michaelh Michael Hawkins
            sarjona Sara Arjona (@sarjona)
            David Woloszyn David Woloszyn
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            11 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, 55 minutes
                1h 55m

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