Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teachers, Students and Parents must be able to send messages #12

Open
josepostiga opened this issue Jul 24, 2021 · 0 comments
Open

Teachers, Students and Parents must be able to send messages #12

josepostiga opened this issue Jul 24, 2021 · 0 comments
Assignees
Labels
story New feature or request

Comments

@josepostiga
Copy link
Owner

josepostiga commented Jul 24, 2021

Scenario

As a Teacher or Student
I must be able to send and receive messages
So that I can communicate with other Teachers or Students

As a Parent
I must be able to send and receive messages
So that I can communicate with Headteachers

As a Headteacher
I must be able to send and receive messages
So that I can communicate with other teachers, Students, or Parents

Description

Messages are simple blocks of text with a sender and one, or many, receivers. To safeguard the students' identity, only teachers and other students can communicate with each other. In the same way, Parents can only communicate with headteachers.

Messages can only be seen, added, or deleted. Deletes, however, are soft, meaning no actual message is removed from the system.

Database and schema information

Create a new topic table to be used as an aggregator of messages. It'll hold information about who first created the topic and the usual timestamps.

Create a new topic_user table to hold a topic and user foreign keys, associating who has access to all messages from that topic.

Create a new topic_message table that holds a topic foreign key, the actual message, and the usual timestamps.

Additional requirements

No additional requirements.

@josepostiga josepostiga added the story New feature or request label Jul 24, 2021
@josepostiga josepostiga self-assigned this Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant