-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOU - An administrator cannot edit an unpaid IOU created by an employee #34181
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @tgolen ( |
Proposalfrom: @unicorndev-727 Please re-state the problem that we are trying to solve in this issue.IOU - An administrator cannot edit an unpaid IOU created by an employee What is the root cause of that problem?The root cause is that only isRequestor can edit if the report is not approved or settled here. Line 1901 in 5d0931d
This is derived from this #33633 What changes do you think we should make in order to solve the problem?We need to update like this.
What alternative solutions did you explore?N/A |
@youssef-lr can you confirm this was a regression from your PR and if so, work on a fix for it? If you confirm it's not related to your PR, please assign it back to me. @unicorndev-727 thanks for the initial RCA! |
Is it intentional to not allow edit when the status is OPEN as I am seeing the comment in that PR. Lines 1896 to 1898 in 5d0931d
|
Correct @Pujan92, the report is not submitted yet, so the admin shouldn't be able to edit it. cc @trjExpensify we can close this right? |
Removing blocker for now, will wait for confirmation from Tom whether or not reports in Free policies can be edited by admins while they're still open. |
How are there |
ah looks like this was tested on a Collect workspace, as per OP:
My I missed this. I think we're good here. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.23-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Preconditions:
In OldDot under admin, create a Collect group policy, enable categories and add 3 categories, add an employee to the policy.
Expected Result:
The administrator should be able to edit an unpaid IOU created by an employee
Actual Result:
An administrator cannot edit an unpaid IOU created by an employee
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6337039_1704827590387.Recording__1051.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: