{
  "id": "APR-005",
  "name": "Approval pending list: GET /process/approvals/pending returns 200 for authenticated user",
  "description": "Regression for #1741 — ListPendingApprovals used ServiceContext (10) which failed RLS bypass (requires SystemContext 30). Process tables had no sharingModel, producing a deny-all RLS filter for non-admin users. After elevating to SystemContext and adding sharingModel: PublicReadWrite to Process tables, the endpoint must return 200 with an array (empty or populated). A 500 or empty-due-to-RLS response is a regression.",
  "object": "ProcessInstanceWorkitem",
  "method": "GET",
  "endpoint": "/services/data/v63.0/process/approvals/pending",
  "setup": [],
  "payload": {},
  "expects": {
    "status_code": 200
  },
  "teardown": [],
  "priority": "P0",
  "bug_ref": "#1741",
  "scene": "approval"
}
