Sha256: d70b4ca55ed71252691963d8a28231ec68af471a2a6822cb2f55af3127b279a8
Contents?: true
Size: 1.1 KB
Versions: 4
Compression:
Stored size: 1.1 KB
Contents
Feature: Checking permissions on a resource Background: Given I successfully run `conjur resource create food:$ns/bacon` Scenario: By default I check my own privilege In this case, I have the privilege because I own the resource When 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: I can check the privileges of roles that I own When I successfully run `conjur role create job:$ns/cook` And I successfully run `conjur resource check -r job:$ns/cook food:$ns/bacon fry` Then the stdout from "conjur resource check -r job:$ns/cook food:$ns/bacon fry" should contain "false" Scenario: I can check the privileges of roles that I own When I successfully run `conjur role create job:$ns/cook` And I successfully run `conjur resource permit food:$ns/bacon job:$ns/cook fry` And I successfully run `conjur resource check -r job:$ns/cook food:$ns/bacon fry` Then the stdout from "conjur resource check -r job:$ns/cook food:$ns/bacon fry" should contain "true"
Version data entries
4 entries across 4 versions & 1 rubygems