Sha256: 4ff487a7411bcea0bd2a3d438c58b348615a38eb467585539aed17204d88f368

Contents?: true

Size: 1002 Bytes

Versions: 4

Compression:

Stored size: 1002 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 successfully run `conjur resource check food:$ns/bacon fry`
    Then the stdout from "conjur resource check food:$ns/bacon fry" should contain "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 successfully run `conjur resource check -r job:$ns/chefs food:$ns/bacon fry`
    Then the stdout from "conjur resource check -r job:$ns/chefs food:$ns/bacon fry" should contain "true"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
conjur-cli-4.28.2 acceptance-features/authorization/resource/create.feature
conjur-cli-4.28.1 acceptance-features/authorization/resource/create.feature
conjur-cli-4.28.0 acceptance-features/authorization/resource/create.feature
conjur-cli-4.27.0 acceptance-features/authorization/resource/create.feature