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

Implement User Comments with simple crud functionality #58

Open
KonradUdoHannes opened this issue Oct 2, 2023 · 0 comments
Open

Implement User Comments with simple crud functionality #58

KonradUdoHannes opened this issue Oct 2, 2023 · 0 comments
Assignees
Labels

Comments

@KonradUdoHannes
Copy link
Collaborator

As a first implementation we could implement comments as a standalone entity. For integration in the frontend a separate issue should address needed relationships with comments and other entities such as specific projects etc.

Comments should include:

  • the comment text (allowed length?)
  • the user who wrote the comment
  • the time the comment was posted
  • the time the comment was updated

For CRUD the following constraints should apply:

  1. Every user can create a comment by default
  2. Users can only update or delete their own comments
  3. Users have access to comments that
    • they wrote themselves
    • that are associated with an entity (for instance a project) that they have access to

As relationships with other entities are not part of this issue, point 3. should also not be part in the first implementation. For the initial implementation its fine if comments can be accessed by all authenticated users.

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

No branches or pull requests

1 participant