Repository navigation
Commit 72472e8
committed
fix(scenarios): travel_expense op 4 asks the employee to approve its own claim's step, so a claimant is never the approver
The operation targeted a colleague's step (as_112_1) outside the employee's
row scope, so its right refusal depended on an edit grant the card cannot
state (PERMISSION_DENIED without one, RECORD_NOT_FOUND with one), and an
agent acting for the employee could not find the row. Ruled option A on
#30802: target the manager step of the employee's own claim EC-0098
(as_098_1), which it can read, keep PERMISSION_DENIED, and rename the
operation employee_approves_own_claim. The seed is unchanged.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4cyjYBCnWT8iGQXxoeH1 parent 1bda3e8 commit 72472e8
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
1042 | 1042 | | |
1043 | 1043 | | |
1044 | 1044 | | |
1045 | | - | |
| 1045 | + | |
1046 | 1046 | | |
1047 | 1047 | | |
1048 | | - | |
1049 | | - | |
| 1048 | + | |
| 1049 | + | |
1050 | 1050 | | |
1051 | 1051 | | |
1052 | 1052 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments