Admin Privileges - Can Delete Any Story
sorachung opened this issue · 0 comments
sorachung commented
GIVEN user is authenticated with the user type admin
WHEN is viewing a story's landing page
THEN admin should see a delete button for any story
GIVEN admin wants to delete a story
WHEN admin clicks the delete button
THEN a confirmation dialog should pop up asking admin to confirm
WHEN admin clicks confirm
THEN the story should be deleted from the db and the dialog should go away
WHEN admin clicks cancel
THEN the the dialog should go away and the story untouched in the db