Sha256: af9d10c67bc392e5385bf24a6ae54f3535cc5670c9795ad6144fdad63537f03e
Contents?: true
Size: 874 Bytes
Versions: 11
Compression:
Stored size: 874 Bytes
Contents
Feature: List roles which have a permission on a resource Background: Given I load the policy: """ - !user alice - !resource kind: food id: bacon owner: !user alice """ Scenario: The owner of a resource is always listed in permitted_roles When I successfully run `conjur resource permitted_roles food:bacon fry` Then the JSON should include "cucumber:user:alice" Scenario: When a permission is granted to a new user, the user is listed in permitted_roles Given I apply the policy: """ - !user bob - !resource kind: food id: bacon - !permit role: !user bob privilege: fry resource: !resource kind: food id: bacon """ When I successfully run `conjur resource permitted_roles food:bacon fry` Then the JSON should include "cucumber:user:bob"
Version data entries
11 entries across 11 versions & 1 rubygems