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

Messaging button shown on profile page even when messaging globally disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9 regressions, 2.9.1
    • Fix Version/s: 2.9.2
    • Component/s: Messages
    • Labels:
    • Testing Instructions:
      Hide

      1. Disable messaging
      2. Login and verify message button has disappeared on another user's profile.
      3. Enable messaging
      4. Login and verify message button has reappeared on another user's profile.
      5. Send a message.

      Show
      1. Disable messaging 2. Login and verify message button has disappeared on another user's profile. 3. Enable messaging 4. Login and verify message button has reappeared on another user's profile. 5. Send a message.
    • Workaround:
      Hide

      Revoke the permission moodle/site:sendmessage.

      Show
      Revoke the permission moodle/site:sendmessage .
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-51307-master

      Description

      HI,
      Since Moodle 2.9 and MDL-48933, a messaging button "Message" is shown on users profil page, even when messaging is globally disabled ; it shouldn't !

      How to replicate :

      1. as an Administrator, go to Site administration > Advanced features and untick "Enable messaging system", then save.
      2. go to anybody's profil and look at the upper right : there is a "Message" button. It should not appear!

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Sep/15