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

Student cannot set messaging preferences for assignment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.3
    • 2.3
    • Assignment
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • MDL-33598-master-integration
    • Hide

      mod/assign/db/messaging.php, lines 27-30

          // Ordinary assignment submissions
          'assign_student_notification' => array (
              // 'capability' => 'mod/assign:submit'
          ),

      Show
      mod/assign/db/messaging.php, lines 27-30 // Ordinary assignment submissions 'assign_student_notification' => array ( // 'capability' => 'mod/assign:submit' ),
      1. Log in as a student
      2. Navigate to Settings > My profile settings > Messages
      3. Make sure you can change the settings for 'Assignment student notifications'

      It is not possible for a student to change their messaging preferences for the new assignment module.

      This is because there is a capability associated with the messaging provider assign_student_notification, which applies at the module level but not at the site level, where messaging settings are set.

      The quick fix is to remove this capability from the provider. This is not ideal, but it is what happens in the 2.2 assignment, forum and lesson. I am also going to create another issue to review the implications of messaging settings at different context levels.

      Replication steps:

      1. Log in as a student
      2. Navigate to Settings > My profile settings > Messages

      Expected result: You should be able to control the provider labelled "Assignment student notifications".

      Actual result: There is no provider listed as "Assignment student notifications"

            fred Frédéric Massart
            salvetore Michael de Raadt
            Michael de Raadt Michael de Raadt
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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