Sha256: d31a28803199bc1a03d245a264f4c5cf7909a1b82c67a081ce69481299a7a7d1

Contents?: true

Size: 971 Bytes

Versions: 18

Compression:

Stored size: 971 Bytes

Contents

Feature: Create a Resource

  Scenario: Create an abstract resource
    When I successfully run `conjur resource create food:$ns/bacon`
    Then the JSON should have "id"
    And the JSON should have "owner"
    And the JSON should have "permissions"
    And the JSON should have "annotations"

  Scenario: The resource owner has all privileges on it
    When I successfully run `conjur resource create food:$ns/bacon`
    And I reset the command list
    And I successfully run `conjur resource check food:$ns/bacon fry`
    Then the stdout should contain exactly "true"

  Scenario: A different role can be assigned as the owner of the resource
    When I successfully run `conjur role create job:$ns/chefs`
    And I successfully run `conjur resource create --as-role job:$ns/chefs food:$ns/bacon`
    And I reset the command list
    And I successfully run `conjur resource check -r job:$ns/chefs food:$ns/bacon fry`
    Then the stdout should contain exactly "true"

Version data entries

18 entries across 18 versions & 1 rubygems

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