code-corps / code-corps-api

Elixir/Phoenix API for Code Corps.
https://www.codecorps.org
MIT License
234 stars 86 forks source link

Add ConversationPart controller with create endpoint, changeset and policy #1291

Closed begedin closed 6 years ago

begedin commented 6 years ago

Problem

See #1286 for an explanation of how a Message system works.

Once we have created a Message and it's associated Conversation, any side of the conversation can post a reply.

Each of these replies then creates a ConversationPart containing its contents.

In order to do that, we need a create endpoint

Subtasks

joshsmith commented 6 years ago

I think the policy here really needs to be different, probably more like:

Anything else is superfluous.