-
Bug
-
Resolution: Fixed
-
Minor
-
3.7, 4.0.4
-
MOODLE_37_STABLE, MOODLE_400_STABLE
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
66924-view-own-private-reply-401
-
66924-view-own-private-reply-master
-
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:
- Log in as admin.
- Go to Site administration / Users / Define roles
- Edit the non-editing teacher role and remove the "mod/forum:readprivatereplies" capability to it.
- Save the changes.
- Go to a forum discussion.
- Reply to one of the posts p1. Let's call this r1.
- Reply privately to your reply r1. Let's call this rp1.
- 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.
- Discovered while testing
-
MDL-66625 Private replies should be included in the forum summary report
- Closed
- has a non-specific relationship to
-
MDL-67109 Invalid response when replying privately to discussion with readprivatereplies off
- Closed
-
MDL-76934 Follow up for private reply
- Closed
- is duplicated by
-
MDL-75563 Forum topic's private reply won't work for student
- Closed