OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

Delete comment #169

Open OlhenShu opened 5 months ago

OlhenShu commented 5 months ago

As an Authorized User, I shall be able to delete my comment, in order to remove it from the system.

Assumptions & Constraints

  1. Comment may have an answer. An authorized user who has left a comment will be able to respond to his own comment too. It will allow users to answer each other within one branch of communication.

Preconditions

  1. The user should be logged in as a Authorized User.
  2. User can delete only his own comment.

Business rules An authorized user can delete a comment that is left without a time limit.

Acceptance Criteria

  1. Authorized User shall be able to delete comment by clicking on the "Delete" bttn.
  2. After clicking on the "Delete" button system shows alert message: Comment will be deleted. Do you want to continue? " Buttons "YES, delete" and "Cancel" should be displayed.
  3. If the user clicks “Cancel” button, alert message, buttons " YES, delete " and " Cancel " should be disapeared.
  4. If the user clicks “YES, delete” button, the system clears all comment data from the database. Alert message, buttons " YES, delete " and " Cancel " should be disapeared.

Out of scope Edit comment Add comment Reply on comment

Epic link E.g.: Epic #11

Labels to be added "User story"

Tasks

    • [ ] sample task.