informed-decision/tests/fixtures/review-policy/fixtures.json

59 lines
1.4 KiB
JSON
Raw Normal View History

[
{
"id": "synthetic-allow",
"request": {
"id": "fixture-pin",
"tenant": "tenant:platform",
"subject": {
"id": "human-fixture",
"type": "human",
"tenant": "tenant:platform"
},
"action": "read",
"resource": {
"id": "memo:memo-1",
"type": "decision-memo",
"system": "informed-decision",
"tenant": "tenant:platform"
},
"context": {
"memo_version": 1,
"approval_id": "fixture",
"approval_binding_digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"policy_version": "v1"
},
"expect": {
"effect": "allow"
}
},
{
"id": "synthetic-refusal",
"request": {
"id": "fixture-pin",
"tenant": "tenant:platform",
"subject": {
"id": "human-fixture",
"type": "human",
"tenant": "tenant:platform"
},
"action": "consume",
"resource": {
"id": "memo:memo-1",
"type": "decision-memo",
"system": "informed-decision",
"tenant": "tenant:platform"
},
"context": {
"memo_version": 1,
"approval_id": "fixture",
"approval_binding_digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"policy_version": "v1"
},
"expect": {
"effect": "deny"
}
}
]