Feature: As a user I want to leave and view private comments
Scenario Outline: View private comments permissions
Given I am a <userRole>
Then I <permissionType> view private comments made by others on my workspace
Examples:
| userRole | permissionType |
| OWNER | can |
| ADMIN | can |
| EDITOR | can |
| INTERNAL_REVIEWER | can |
| EXTERNAL_EDITOR | can not |
| EXTERNAL_REVIEWER | can not |
| ANONYMOUS | can not |
Scenario Outline: Leave private comments permissions
Given I am a <userRole>
Then I <permissionType> leave private comments on projects on my workspace
Examples:
| userRole | permissionType |
| OWNER | can |
| ADMIN | can |
| EDITOR | can |
| INTERNAL_REVIEWER | can |
| EXTERNAL_EDITOR | can not |
| EXTERNAL_REVIEWER | can not |
| ANONYMOUS | can not |
Scenario Outline: Leave private comments permissions on another workspace project
Given I am any user
Then I cannot leave private comments on projects on a workspace other than my own