Sha256: 91453a7d86bf1112a619da3360b057008fd12a2651ad640885b2efb2717bc0e3

Contents?: true

Size: 1006 Bytes

Versions: 11

Compression:

Stored size: 1006 Bytes

Contents

Feature: List memberships of a role

  Scenario: The role memberships list includes the role itself
    Given I load the policy:
    """
    - !group cooks
    """
    When I successfully run `conjur role memberships group:cooks`
    Then the JSON should have 1 entries

  Scenario: Memberships can be added to a role by granting it a new role
    Given I load the policy:
    """
    - !group employees

    - !group cooks

    - !grant
      role: !group employees
      member: !group cooks
    """
    When I successfully run `conjur role memberships group:cooks`
    Then the JSON should have 2 entries

  Scenario: Members list is expanded transitively
    Given I load the policy:
    """
    - !user alice

    - !group employees

    - !group cooks

    - !grant
      role: !group employees
      member: !group cooks

    - !grant
      role: !group cooks
      member: !user alice
    """
    When I successfully run `conjur role memberships user:alice`
    Then the JSON should have 3 entries

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
conjur-cli-6.2.6 features/authorization/role/memberships.feature
conjur-cli-6.2.5 features/authorization/role/memberships.feature
conjur-cli-6.2.4 features/authorization/role/memberships.feature
conjur-cli-6.2.3 features/authorization/role/memberships.feature
conjur-cli-6.2.2 features/authorization/role/memberships.feature
conjur-cli-6.2.1 features/authorization/role/memberships.feature
conjur-cli-6.2.0 features/authorization/role/memberships.feature
conjur-cli-6.1.0 features/authorization/role/memberships.feature
conjur-cli-6.0.1 features/authorization/role/memberships.feature
conjur-cli-6.0.0 features/authorization/role/memberships.feature
conjur-cli-6.0.0.rc1 features/authorization/role/memberships.feature