Sha256: 4213f420ec596462f133a2fe6d751b661e2f686ace9ad35e541416e911a23c3c
Contents?: true
Size: 727 Bytes
Versions: 11
Compression:
Stored size: 727 Bytes
Contents
Feature: Test existence of a role Scenario: A never-created role does not exist When I successfully run `conjur role exists --json food:nonesuch` Then the JSON at "exists" should be false Scenario: A created role does exist Given I load the policy: """ - !role kind: job id: cook """ And I successfully run `conjur role exists --json job:cook` Then the JSON at "exists" should be true Scenario: Even foreign user can check existance of a role Given I load the policy: """ - !user alice - !role kind: job id: cook """ And I login as "alice" And I run `conjur role exists --json job:cook` Then the JSON at "exists" should be true
Version data entries
11 entries across 11 versions & 1 rubygems