Sha256: c1984ca995643a7eafee252861a91916da31a25680222d54c6ae46316de79744

Contents?: true

Size: 801 Bytes

Versions: 22

Compression:

Stored size: 801 Bytes

Contents

Feature: Test existance of a role

  Scenario: A never-created role does not exist
    When I successfully run `conjur role exists --json food:$ns/nonesuch`
    Then the JSON at "exists" should be false

  Scenario: A created role does exist
    When I successfully run `conjur role create --json food:$ns/bacon`
    And I keep the JSON response at "roleid" as "ROLEID"
    And I successfully run `conjur role exists --json %{ROLEID}`
    Then the JSON at "exists" should be true

  Scenario: Even foreign user can check existance of a role 
    When I successfully run `conjur role create --json food:$ns/bacon`
    And I keep the JSON response at "roleid" as "ROLEID"
    And I login as a new user 
    And I run `conjur role exists --json %{ROLEID}`
    Then the JSON at "exists" should be true
  

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
conjur-cli-5.6.6 acceptance-features/authorization/role/exists.feature
conjur-cli-5.6.5 acceptance-features/authorization/role/exists.feature
conjur-cli-5.6.4 acceptance-features/authorization/role/exists.feature
conjur-cli-5.6.3 acceptance-features/authorization/role/exists.feature
conjur-cli-5.5.0 acceptance-features/authorization/role/exists.feature
conjur-cli-5.4.0 acceptance-features/authorization/role/exists.feature
conjur-cli-5.3.0 acceptance-features/authorization/role/exists.feature
conjur-cli-5.2.5 acceptance-features/authorization/role/exists.feature
conjur-cli-5.2.4 acceptance-features/authorization/role/exists.feature
conjur-cli-5.2.3 acceptance-features/authorization/role/exists.feature
conjur-cli-5.2.1 acceptance-features/authorization/role/exists.feature
conjur-cli-5.2.0 acceptance-features/authorization/role/exists.feature
conjur-cli-5.1.2 acceptance-features/authorization/role/exists.feature
conjur-cli-5.1.1 acceptance-features/authorization/role/exists.feature
conjur-cli-5.1.0 acceptance-features/authorization/role/exists.feature
conjur-cli-4.30.1 acceptance-features/authorization/role/exists.feature
conjur-cli-4.30.0 acceptance-features/authorization/role/exists.feature
conjur-cli-4.29.0 acceptance-features/authorization/role/exists.feature
conjur-cli-4.28.2 acceptance-features/authorization/role/exists.feature
conjur-cli-4.28.1 acceptance-features/authorization/role/exists.feature