Capabilities/moodle/site:sendmessage
From MoodleDocs
- This allows a user to send messages to any other user
- This capability may only be applied in the system context
- The default authenticated user role has this capability set to allow
See also
- Messaging FAQ for details of how to use this capability to restrict messaging