Sha256: 39df0adc5859b009c79da30b4619607924927b6280a9f941804af7e9968c79e2

Contents?: true

Size: 1.22 KB

Versions: 22

Compression:

Stored size: 1.22 KB

Contents

Feature: Grant membership in a role to another role
  
  Scenario: Granting a role confers membership
    When I successfully run `conjur role create job:$ns/cooks`
    And I successfully run `conjur role create people:$ns/alice`
    And I successfully run `conjur role grant_to job:$ns/cooks people:$ns/alice`
    And I successfully run `conjur role members job:$ns/cooks`
    Then the JSON should have 2 entries
    
  Scenario: Granting a role gives the grantee permissions of the granted role
    When I successfully run `conjur role create job:$ns/cooks`
    And I successfully run `conjur role create people:$ns/alice`
    And  I successfully run `conjur resource create food:$ns/bacon`
    And I successfully run `conjur resource permit food:$ns/bacon job:$ns/cooks fry`
    And I successfully run `conjur resource check -r job:$ns/cooks food:$ns/bacon fry`
    Then the output should contain "true"
    When I successfully run `conjur resource check -r people:$ns/alice food:$ns/bacon fry`
    Then the output should contain "false"
    When I successfully run `conjur role grant_to job:$ns/cooks people:$ns/alice`
    And I successfully run `conjur resource check -r people:$ns/alice food:$ns/bacon fry`
    Then the output should contain "true"

Version data entries

22 entries across 22 versions & 1 rubygems

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