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

Users with "mod/forum:postprivatereply" capability cannot view their own private replies when "mod/forum:readprivatereplies" is not enabled

    XMLWordPrintable

Details

    Description

      A user with the capability "mod/forum:postprivatereply" but without the capability "mod/forum:readprivatereplies" will be able to post a private reply, but not view their own private reply.

      To reproduce:

      1. Log in as admin.
      2. Go to Site administration / Users / Define roles
      3. Edit the non-editing teacher role and remove the "mod/forum:readprivatereplies" capability to it.
      4. Save the changes.
      5. Go to a forum discussion.
      6. Reply to one of the posts p1. Let's call this r1.
      7. Reply privately to your reply r1. Let's call this rp1.
      8. Reply to another author's post p2 privately. Let's call this rp2.

      What happens:

      • rp1 is visible to you.
      • rp2 is not visible to you.

      What I kinda expect:

      • If a user has the capability to post private replies but does not have the capability to read private replies, the user should at least be able to see the private replies that he/she posted.

      Attachments

        1. 400.png
          400.png
          219 kB
        2. 401.png
          401.png
          197 kB
        3. Master.png
          Master.png
          234 kB
        4. MDL-66924.jpg
          MDL-66924.jpg
          14 kB
        5. MDL-66924 (2).jpg
          MDL-66924 (2).jpg
          11 kB

        Issue Links

          Activity

            People

              jboulen Julien Boulen
              jpataleta Jun Pataleta
              Mathew May Mathew May
              Andrew Lyons Andrew Lyons
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Jan/23

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 7 minutes
                  3h 7m