Sha256: 7c57c6e250e4bc5a7f7192fcf7ee53826765685774c4db23a080b666aa96567e

Contents?: true

Size: 747 Bytes

Versions: 22

Compression:

Stored size: 747 Bytes

Contents

Feature: List roles which have a permission on a resource

  Background:
    Given I successfully run `conjur resource create food:$ns/bacon`

  Scenario: The owner of a resource is always listed in permitted_roles
    When I successfully run `conjur resource permitted_roles food:$ns/bacon fry`
    Then the JSON should include %{MY_ROLEID}

  Scenario: When a permission is granted to a new user, the user is listed in permitted_roles
    Given I create a new user named "alice@$ns"
    And I keep the JSON at "roleid" as "USERID"
    And I successfully run `conjur resource permit food:$ns/bacon user:alice@$ns fry`
    When I successfully run `conjur resource permitted_roles food:$ns/bacon fry`
    Then the JSON should include %{USERID}
    

Version data entries

22 entries across 22 versions & 1 rubygems

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