People page permissions

BDD file with acceptance criteria for access permissions on the people page.
Feature: As a user I should have certain levels of access to people pages

Scenario Outline: permissions to view the people lists
 Given  I am a <userRole>
 And  I am on the people list pages
 Then  I will see <contentType>

Examples:
| userRole | contentType |
| OWNER | people list |
| ADMIN | people list |
| EDITOR | people list |
| INTERNAL_REVIEWER | people list |
| EXTERNAL_REVIEWER | no access message |
| EXTERNAL_EDITOR | no access message |

Scenario Outline: permissions to view the groups lists
 Given  I am a <userRole>
 And  I am on the groups list page
 Then  I will see <contentType>

Examples:
| userRole | contentType |
| OWNER | groups list |
| ADMIN | groups list |
| EDITOR | groups list |
| INTERNAL_REVIEWER | groups list |
| EXTERNAL_REVIEWER | no access message |
| EXTERNAL_EDITOR | no access message |

Scenario Outline: permissions to view the workspace settings
 Given  I am a <userRole>
 And  I am on the workspace settings page
 Then  I will see <contentType>

Examples:
| userRole | contentType |
| OWNER | workspace settings |
| ADMIN | workspace settings |
| EDITOR | no access message |
| INTERNAL_REVIEWER | no access message |
| EXTERNAL_REVIEWER | no access message |
| EXTERNAL_EDITOR | no access message |

Scenario Outline: permissions to view the workspace settings
 Given  I am a <userRole>
 And  I am on the workspace settings page
 Then  I will see <contentType>

Examples:
| userRole | contentType |
| OWNER | workspace settings |
| ADMIN | workspace settings |
| EDITOR | no access message |
| INTERNAL_REVIEWER | no access message |
| EXTERNAL_REVIEWER | no access message |
| EXTERNAL_EDITOR | no access message |

Scenario Outline: permissions to view the invite to workspace page
 Given  I am a <userRole>
 And  I am on the invite to workspace page
 Then  I will see <contentType>

Examples:
| userRole | contentType |
| OWNER | invite to workspace page |
| ADMIN | invite to workspace page |
| EDITOR | no access message |
| INTERNAL_REVIEWER | no access message |
| EXTERNAL_REVIEWER | no access message |
| EXTERNAL_EDITOR | no access message |

Scenario: accessing team page via sidebar link as a guest
 Given  I am a guest
 And  I select the team link in the sidebar
 Then  I will see a contact your admin page