Sha256: 84d44b9ae2d1c46f05c35e0a5baf8f95147d40f6e9634b98f0836a675145d8cb

Contents?: true

Size: 998 Bytes

Versions: 11

Compression:

Stored size: 998 Bytes

Contents

Feature: List members of a role

  Background:
    Given I load the policy:
    """
    - !user alice

    - !group cooks
    """

  Scenario: Role members list is initally just the creator of the role
    When I successfully run `conjur role members group:cooks`
    Then the JSON should be:
    """
    [
      "cucumber:user:admin"
    ]
    """

  Scenario: Members can be added to the role by granting them the role
    Given I apply the policy:
    """
    - !grant
      role: !group cooks
      member: !user alice
    """
    When I successfully run `conjur role members group:cooks`
    Then the JSON should have 2 entries

  Scenario: Members list is not expanded transitively
    Given I apply the policy:
    """
    - !group employees

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

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

Version data entries

11 entries across 11 versions & 1 rubygems

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