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

[Board] Add endpoint (authed) to make a post on a thread #90

Open
Xazin opened this issue Dec 7, 2022 · 1 comment
Open

[Board] Add endpoint (authed) to make a post on a thread #90

Xazin opened this issue Dec 7, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Xazin
Copy link
Member

Xazin commented Dec 7, 2022

This task is two-part, one is implementing the endpoint, and the other is implementing the command to create a Post.

The endpoint should be authenticated (FirebaseGuard).

The command should take these arguments:

  • The User (This will be the author)
  • Thread ID
  • Subject (This can be empty, in that case, it will be "RE: ${thread.subject"})
  • Message

Validation before creating the post in chronological order:

  1. Validate the user has permission to create posts in that forum
  2. Validate that the current last post in that thread was not also by the user, in that case, they should be told to edit their existing one
@Xazin Xazin added the enhancement New feature or request label Dec 20, 2022
@nhuxhr nhuxhr self-assigned this Dec 27, 2022
@User623-crypto User623-crypto self-assigned this Mar 14, 2023
@Xazin
Copy link
Member Author

Xazin commented Apr 12, 2023

@User623-crypto Let me know if you need any help, or if you've stopped working on this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants