WIP: Claude Code rate-limit checkpoint (20dd5562)

This commit is contained in:
Claude Code 2026-08-18 15:25:17 +02:00
parent 3de72fe6f5
commit 150b1f55fb
8 changed files with 230 additions and 15 deletions

View file

@ -1,4 +1,40 @@
[
{
"id": "fixture:user-engine-tenant-read-allow",
"request": {
"id": "check:user-engine-tenant-read-t1",
"tenant": "tenant:friendly:binky",
"subject": {"id": "user-engine", "type": "service"},
"action": "tenant.read",
"resource": {"id": "t-1", "type": "tenant", "system": "tenant-engine"},
"context": {}
},
"expect": {"effect": "allow", "reason": "write_api_policy_matched"}
},
{
"id": "fixture:flex-auth-live-role-read-allow",
"request": {
"id": "check:flex-auth-live-role-read-t1",
"tenant": "tenant:friendly:binky",
"subject": {"id": "flex-auth", "type": "service"},
"action": "tenant.role.read.live",
"resource": {"id": "t-1", "type": "role-grant", "system": "tenant-engine"},
"context": {}
},
"expect": {"effect": "allow", "reason": "write_api_policy_matched"}
},
{
"id": "fixture:user-engine-live-role-read-deny",
"request": {
"id": "check:user-engine-live-role-read-t1",
"tenant": "tenant:friendly:binky",
"subject": {"id": "user-engine", "type": "service"},
"action": "tenant.role.read.live",
"resource": {"id": "t-1", "type": "role-grant", "system": "tenant-engine"},
"context": {}
},
"expect": {"effect": "deny", "reason": "action_not_granted"}
},
{
"id": "fixture:tenant-engine-create-allow",
"request": {