Sha256: 7967bbd4482c027f74ee840ccf05d15535d80009a7c5ad572296016e8c2e0065

Contents?: true

Size: 1.28 KB

Versions: 22

Compression:

Stored size: 1.28 KB

Contents

Feature: List memberships of a role

  Scenario: The role memberships list includes the role itself
    Given I successfully run `conjur role create job:$ns/chef`
    When I successfully run `conjur role memberships job:$ns/chef`
    Then the JSON should have 1 entries

  Scenario: Memberships can be added to a role by granting it a new role
    Given I successfully run `conjur role create job:$ns/cook`
    And I successfully run `conjur role create job:$ns/chef`
    # Cooks are chefs
    And I successfully run `conjur role grant_to job:$ns/cook job:$ns/chef`
    When I successfully run `conjur role memberships job:$ns/chef`
    # Therefore chefs are cooks and chefs
    Then the JSON should have 2 entries

  Scenario: Members list is expanded transitively
    Given I successfully run `conjur role create person:$ns/myself`
    And I successfully run `conjur role create job:$ns/cook`
    And I successfully run `conjur role create job:$ns/chef`
    # I am a chef
    And I successfully run `conjur role grant_to job:$ns/chef person:$ns/myself`
    # Chefs are cooks
    And I successfully run `conjur role grant_to job:$ns/cook job:$ns/chef`
    When I successfully run `conjur role memberships person:$ns/myself`
    # Therefore I am me, a cook, and a chef
    Then the JSON should have 3 entries

Version data entries

22 entries across 22 versions & 1 rubygems

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