GibbonEdu / core

Gibbon is a flexible, open source school management platform designed to make life better for teachers, students, parents and leaders.
https://gibbonedu.org
GNU General Public License v3.0
482 stars 306 forks source link

Messenger: add the abiliy to send confidential messages #1628

Closed SKuipers closed 2 years ago

SKuipers commented 2 years ago

Generally messages are only viewable by the person who sent them, as the default permission is "Manage Messages_my." However, any admin or other user with "Manage Messages_all" permission can see all messages sent by all users. This PR adds the option to give select users the "New Message_confidential" permission, which enables them to send messages which do not show up for any other user regardless of their permissions.

Motivation and Context This enables school admin and leadership to send sensitive messages when needed without them being viewable by other users.

How Has This Been Tested? Tested locally.

Screenshots

Screenshot 2022-06-24 at 2 17 26 PM Screenshot 2022-06-24 at 2 17 44 PM