As a user of teckers app (any role) I'm able to send messages to other users.
Acceptance criteria:
A message can be written by:
Clicking on the plus button on home/inbox screen
Clicking on the reply button on a message being displayed
A new screen should be opened to send the message. The screen must contain:
"Receiver(s)" (check the rules below)
Space to write the message
Icon to attach files/images
Icon to insert links
Button to cancel the message
Button to send the message
Space to write a subject
If the cancel button is clicked and a message has been written, a warning must be displayed to the user to indicate that everything will be lost if the dialog is closed
If the send button is clicked the message will be sent to all the receivers.
Rules for choose receivers:
Parent can only send a message to administrators
Tecker can only send a message to own mentors, team mates, administrators
Staff can only send a message to mentors and administrators
Mentors and administrators can send a message to anybody
As a user of teckers app (any role) I'm able to send messages to other users.
Acceptance criteria:
Rules for choose receivers: