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.
Adds a confidential field to the gibbonMessenger table.
Adds a permission New Message_confidential, enabled for admin only by default.
Checks permissions and confidential flag on Manage Messages and Edit Message pages.
Checks confidential flag when using the BCC messages option.
Adds a visual Confidential tag to messages in Manage Messages.
Motivation and Context
This enables school admin and leadership to send sensitive messages when needed without them being viewable by other users.
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.
confidential
field to the gibbonMessenger table.New Message_confidential
, enabled for admin only by default.Confidential
tag to messages in Manage Messages.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