Details
Description
- EditingTeacher selects the course participants;
- Select the participants;
- Choose 'add/send message';
- A warning is showed saying that the user has not permission to send messages;
I verified the permissions for the role 'EditingTeacher'. All it's fine. The permission 'moodle/course:bulkmessaging' is allowed.
Looking the file /moodle/user/messageselect.php I find the follow verification:
require_capability('moodle/site:readallmessages', get_context_instance(CONTEXT_COURSE, $id));
This is a security verification or a Bug ?? For me, the EditingTeacher not needs view all sites's messages to send a message for your students.
I change that verification for this:
require_capability('moodle/course:bulkmessaging', get_context_instance(CONTEXT_COURSE, $id));
Attachments
Issue Links
| This issue duplicates: | ||||
| MDL-10028 | Bulk messaging not available for teachers |
|
|
|
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions