@ows_pdp
Feature: Pdp Endpoints

  @id_b217bde9668407ae63cffcb8de6cc31d675fb2b9b7b97dcf42355dcca1be6860
  Scenario: Test user can get a 200 from the roles endpoint
    Given an orchard employee test for pdp
    When I have a valid auth0 session token
    Then I get a 200 from the pdp roles endpoint

  @id_8340e6ed6c078792fcfa9730215b9ca47a2bb6e4d051d68fa39b2d487c76a87e
  Scenario: Test user receives a deny from the actions endpoint for an action they are denied
    Given an orchard employee test for pdp
    When I have a valid auth0 session token
    Then I get a deny from the pdp actions endpoint for the view action on the ad_account resource type

  @id_51fd9adb589d6b96abedf51624c3a9d9d4a3845d5cbe0ba82d1051c57bbcf14c
  Scenario: Test user receives an allow from the actions endpoint for an action they are allowed
    Given an orchard employee test for pdp
    When I have a valid auth0 session token
    Then I get an allow from the pdp actions endpoint for the view action on the fan_data_channel resource type

  @id_cf2a0dcbf89a76ea610fcb47af8ff53318b529ea3c466b2acf5eb90628d23607
  Scenario: Test user attaches a role
    Given an orchard employee test for pdp
    When I have a valid auth0 session token
    Then I can attach a pdp role to myself
