You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-06-29] [Due for payment 2026-05-20] [$250] Copilot with limited access level can reject expenses, which contradicts the statement #75166
Select Limited access level.
-> On confirm page, it states "Allow another member to take most actions in your paccount, on your behalf. Excludes approvals, payments, rejections, and holds."
Click Add copilot and enter magic code.
Go to workspace chat.
Create an expense and click Submit.
As User B (copilot), open account switcher and switch to User A.
[Copilot] Go to workspace chat and open the expense report.
[Copilot] Click More > Hold.
-> Hold action is denied in accordance with "Allow another member to take most actions in your paccount, on your behalf. Excludes approvals, payments, rejections, and holds." - Expected.
[Copilot] Click More > Reject. (Reject case is now fixed)
[Copilot] Retract the expense.
Expected Result:
Copilot with limited access level should be blocked from retracting an expense because limited access "Excludes approvals, payments, rejections, and holds."
Actual Result:
Copilot with limited access level can reject expense despite the Limited access level statement. Reject is now fixed. However, copilot with limited access level can still retract an expense, which should also be blocked.
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
Please re-state the problem that we are trying to solve in this issue.
Copilot with limited access level can reject expense despite the Limited access level statement "Allow another member to take most actions in your paccount, on your behalf. Excludes approvals, payments, rejections, and holds."
What is the root cause of that problem?
We are missing to check for the copilot when the user clicks reject button
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Copilot with limited access level can reject expenses, which contradicts the statement[/-][+][$250] Copilot with limited access level can reject expenses, which contradicts the statement[/+]on Nov 14, 2025
PS: we can add this check for other actions if needed
@Eskalifer1 if you want your proposal to be approved, can you please find out all instances where copilot can access hold/reject (or any other limited actions) throughout the app?
Please check all cases - one transaction report, multiple transactions report, etc.
(Note: @daledah's proposal is not complete, still missing cases)
changed the title [-][Due for payment 2026-05-20] [$250] Copilot with limited access level can reject expenses, which contradicts the statement[/-][+][Due for payment 2026-06-29] [Due for payment 2026-05-20] [$250] Copilot with limited access level can reject expenses, which contradicts the statement[/+]on Jun 22, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.16-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@Eskalifer1 / @aimane-chnaif@mallenexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]
Activity
melvin-bot commentedon Nov 14, 2025
Triggered auto assignment to @lydiabarclay (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.Eskalifer1 commentedon Nov 14, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Copilot with limited access level can reject expenses, which contradicts the statement
What is the root cause of that problem?
We are missing here check:
App/src/components/MoneyReportHeader.tsx
Lines 1204 to 1212 in 41e4e50
What changes do you think we should make in order to solve the problem?
We should add check for copilot:
App/src/components/MoneyRequestHeader.tsx
Lines 383 to 397 in 75971bc
App/src/components/MoneyReportHeader.tsx
Lines 613 to 619 in 75971bc
App/src/components/MoneyReportHeader.tsx
Lines 621 to 634 in 75971bc
App/src/components/MoneyReportHeader.tsx
Lines 1232 to 1240 in 75971bc
App/src/components/MoneyRequestHeader.tsx
Lines 285 to 291 in 75971bc
App/src/components/MoneyRequestHeader.tsx
Lines 293 to 306 in 75971bc
App/src/pages/iou/RejectReasonPage.tsx
Lines 26 to 33 in 75971bc
App/src/pages/iou/HoldReasonPage.tsx
Lines 37 to 47 in 75971bc
App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx
Lines 429 to 437 in 75971bc
In case we want to have this logic in remove hold actions:
10.
App/src/components/MoneyReportHeader.tsx
Lines 849 to 864 in 75971bc
11.
App/src/components/MoneyReportHeader.tsx
Lines 1084 to 1090 in 75971bc
12.
App/src/components/MoneyRequestHeader.tsx
Lines 220 to 222 in 75971bc
13.
App/src/components/MoneyRequestHeader.tsx
Lines 338 to 344 in 75971bc
14.
App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx
Lines 407 to 415 in 75971bc
Search page:
15.
App/src/pages/Search/SearchPage.tsx
Lines 506 to 513 in 75971bc
In case of remove hold:
16.
App/src/pages/Search/SearchPage.tsx
Lines 525 to 536 in 75971bc
App/src/pages/Search/SearchHoldReasonPage.tsx
Lines 29 to 42 in 75971bc
App/src/pages/Search/SearchPage.tsx
Lines 416 to 444 in 75971bc
we might also want to add this logic here:
App/src/pages/Search/SearchPage.tsx
Line 207 in 75971bc
App/src/hooks/useSelectedTransactionsActions.ts
Lines 188 to 193 in 75971bc
App/src/hooks/useSelectedTransactionsActions.ts
Lines 202 to 211 in 75971bc
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
daledah commentedon Nov 14, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Copilot with limited access level can reject expense despite the Limited access level statement "Allow another member to take most actions in your paccount, on your behalf. Excludes approvals, payments, rejections, and holds."
What is the root cause of that problem?
We are missing to check for the copilot when the user clicks reject button
App/src/components/MoneyReportHeader.tsx
Lines 1207 to 1213 in cecf68a
App/src/components/MoneyRequestHeader.tsx
Lines 372 to 381 in cecf68a
What changes do you think we should make in order to solve the problem?
We should add the check for the copilot to show the delegate no access modal in both
MoneyReportHeaderandMoneyRequestHeaderto avoid the regressionsApp/src/components/MoneyRequestHeader.tsx
Lines 293 to 306 in 63e1eed
App/src/components/MoneyRequestHeader.tsx
Lines 388 to 391 in 63e1eed
App/src/components/MoneyRequestHeader.tsx
Lines 220 to 222 in 63e1eed
App/src/components/MoneyRequestHeader.tsx
Lines 288 to 290 in 63e1eed
App/src/components/MoneyRequestHeader.tsx
Lines 339 to 343 in 63e1eed
App/src/components/MoneyReportHeader.tsx
Lines 620 to 631 in 63e1eed
App/src/components/MoneyReportHeader.tsx
Lines 1232 to 1235 in 63e1eed
App/src/components/MoneyReportHeader.tsx
Lines 615 to 617 in 63e1eed
App/src/components/MoneyReportHeader.tsx
Lines 853 to 855 in 63e1eed
App/src/components/MoneyReportHeader.tsx
Lines 1084 to 1088 in 63e1eed
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
melvin-bot commentedon Nov 14, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021989470519323088195
[-]Copilot with limited access level can reject expenses, which contradicts the statement[/-][+][$250] Copilot with limited access level can reject expenses, which contradicts the statement[/+]melvin-bot commentedon Nov 14, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (
External)aimane-chnaif commentedon Nov 21, 2025
@Eskalifer1 if you want your proposal to be approved, can you please find out all instances where copilot can access hold/reject (or any other limited actions) throughout the app?
Please check all cases - one transaction report, multiple transactions report, etc.
(Note: @daledah's proposal is not complete, still missing cases)
111 remaining items
Eskalifer1 commentedon May 22, 2026
All good 👍. I have accepted, thank you!
cc: @mallenexpensify
mallenexpensify commentedon May 22, 2026
@Eskalifer1 paid (for real), summary updated above. Thx.
[-][Due for payment 2026-05-20] [$250] Copilot with limited access level can reject expenses, which contradicts the statement[/-][+][Due for payment 2026-06-29] [Due for payment 2026-05-20] [$250] Copilot with limited access level can reject expenses, which contradicts the statement[/+]melvin-bot commentedon Jun 22, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jun 22, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.16-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-06-29. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jun 22, 2026
@Eskalifer1 / @aimane-chnaif @mallenexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]
garrettmknight commentedon Jul 19, 2026
$250 apprvoed for @aimane-chnaif