-
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
[HOLD for payment 2023-12-04] [$1000] Web - Displays "Hmm... it's not here" when click on Task by Anonymous User in a public room #23491
Comments
Triggered auto assignment to @michaelhaxhiu ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Displays "Hmm... it's not here" when click on Task by Anonymous User in a public room. What is the root cause of that problem?When click on task, the following code is called. App/src/components/ReportActionItem/TaskPreview.js Lines 75 to 76 in ff54c9e
There is no checking whether user is anonymous, so the user is navigated to the task detail page. But BE responds with "You do not have the permission to do the requested action.", so "Hmm... it's not here" is displayed. What changes do you think we should make in order to solve the problem?We should add session check as below. onPress={Session.checkIfActionIsAllowed(() => Navigation.navigate(ROUTES.getReportRoute(props.taskReportID)))} What alternative solutions did you explore? (Optional)None. |
Since tasks are essentially a thread with a done state - the anonymous user should be able to view the thread details, but should not be able to take any of the actions related to a task (complete task, edit) |
Job added to Upwork: https://www.upwork.com/jobs/~0184f834df2c94f428 |
Current assignee @michaelhaxhiu is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Agree 100% with @thienlnam |
Reviewing today |
@thienlnam I am too seeing this error on openReport api when click on task from public room by anonymous user. We should check on this in backend. On a side note: During testing for the first time the task details actually opened for me. But after that I am seeing this issue. Not sure if backend sent something different during first time. So we should check in backend first |
Yeah agreed, let's get this internal and see what the issue is |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Current assignee @abdulrahuman5196 is eligible for the Internal assigner, not assigning anyone new. |
No update |
No update |
Given this has been internal since August without much movement, is this low priority enough to close? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.3-11 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 2023-12-04. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Offers extended to @hoangzinh and @abdulrahuman5196! I'll pay as soon as you accept them. |
Accepted. Thanks @miljakljajic |
Both payments complete! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Since tasks are essentially a thread with a done state - the anonymous user should be able to view the Task details, but should not be able to take any of the actions related to a task (complete task, edit)
Actual Result:
App displays "Hmm... it's not here"
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.44.0
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-07-25.at.06.40.01.mov
Expensify/Expensify Issue URL:
Issue reported by: @hoangzinh
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689950784101419
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: