Unarchiving projects

BDD file with acceptance criteria for unarchiving projects, describing each step of the feature and user permissions.
Feature: As a user I want to unarchive projects

Scenario Outline: Unarchive projects own by myself permissions
 Given  I am a <userRole>
 Then  I <permissionType> unarchive projects owned by myself

Examples:
| userRole | pemissionType |
| OWNER | can |
| ADMIN | can |
| EDITOR | can |
| EXTERNAL_EDITOR | can |
| INTERNAL_REVIEWER | can not |
| EXTERNAL_REVIEWER | can not |

Scenario Outline: Unarchive projects owned by others permissions
 Given  I am a <userRole>
 Then  I <permissionType> unarchive projects owned by others

Examples:
| userRole | pemissionType |
| OWNER | can |
| ADMIN | can |
| EDITOR | can not |
| EXTERNAL_EDITOR | can not |
| INTERNAL_REVIEWER | can not |
| EXTERNAL_REVIEWER | can not |

Scenario: Unarchiving projects
 Given  I unarchive one or multiple projects
 Then  the project(s) will be unarchived
 And  I will see visual feedback
 And  they will disappear from the archive project list

Scenario: One project has successfully unarchived
 Given  I have successfully unarchived a project
 When  I click on the link in the visual feedback
 Then  I will be taken to the unarchived project

Scenario: Multiple projects have successfully unarchived
 Given  I have successfully unarchived multiple projects
 When  I click on the link in the visual feedback
 Then  I will be taken to the all projects dashboard

Scenario Outline: Failed unarchive
 Given  unarchive is unsuccessful on <count> project(s)
 Then  I should see a single failure message
 And  the project(s) should reappear in the archive list

Examples:
| count |
| single |
| multiple |

Scenario: Unarchiving multiple projects
 Given  I unarchive multiple projects
 And  some projects fail to unarchive
 Then  I will see a single message for all successfully unarchived projects
 And  I will see a single failure message for all projects that failed to unarchive
 And  I will be able to retry any failed unarchives