punchcard-cms / punchcard

The Punchcard CMS
Apache License 2.0
31 stars 19 forks source link

Content Creator: Allow content to be `archived` #274

Open ineedsubstance opened 8 years ago

ineedsubstance commented 8 years ago

As a Content Creator, I want to be able to archive a piece of content so that duplicate or irrelevant content can be removed from the CMS display.

Feature: Archive content
  As a Content Creator,
  I want to be able to `archive` a piece of content
  So that duplicate or irrelevant content can be removed from the CMS display.

  Scenario: Allow for content to be archived
    Given that, I will be creating and editing content
      And that duplicate or relevant content exists
     When I view a list of content
     Then I will see the ability to archive that content
      And that will remove the content from display in the CMS
      And that the `archived` content will remain in the database

  Scenario: Allow archived content to be deleted
    Given that, content will be archived
      And that archived content will need to be permanently removed from the system
     When I view a list of archived content
     Then I will see the ability to delete that content
      And that will permanently remove the content from the display in the CMS
      And that will permanently remove the content from the database

  Scenario: Tie archiving content to a user role
    Given that, content can be archived
      And that only certain user roles should have this ability
     When I go to archive a piece of content
     Then I will not be able to archive content if my user role does not match
      And that I will be able to archive content if my user role matches

  Scenario: Tie deleting content to a user role
    Given that, content that is archived can be deleted
      And that only certain user roles should have this ability
     When I go to archive a piece of content
     Then I will not be able to delete content if my user role does not match
      And that I will be able to delete content if my user role matches

Archive content:

joshkimmell commented 8 years ago

Although I like the word remove here, I think archive is more transparent, since we aren't actually removing the content, just moving the content so it doesn't display in the list. I'm open to testing this, though.

ineedsubstance commented 8 years ago

Archive makes it seem like the user can get it back or find it somehow. Is that what we want?

Snugug commented 8 years ago

This story in general needs to be made more clear:

ineedsubstance commented 8 years ago

OK. Here are my notes, and to make sure we are all on the same page. Also, a few questions.

ineedsubstance commented 8 years ago

@Snugug @joshkimmell - I took another stab at this. Can you guys please provide feedback?