-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[$1000] Annonymous User can open title/description edit task modal but not able to edit it #25482
Comments
Triggered auto assignment to @slafortune ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Anonymous User can open title/description edit task modal but not able to edit it What is the root cause of that problem?We are not checking if user is anonymous in - What changes do you think we should make in order to solve the problem?There are two approaches for this -
function signOutAndRedirectToSignIn(newParam = false) {
Log.info('Redirecting to Sign In because signOut() was called');
hideContextMenu(false);
if (!isAnonymousUser() || newParam) {
signOut();
redirectToSignIn();
} else {
Navigation.navigate(ROUTES.SIGN_IN_MODAL);
Linking.getInitialURL().then((url) => {
const reportID = ReportUtils.getReportIDFromLink(url);
if (reportID) {
Report.setLastOpenedPublicRoom(reportID);
}
});
}
} the default value of result - Screen.Recording.2023-08-23.at.4.42.37.PM.movWhat alternative solutions did you explore? (Optional) |
@mountiny Which approach shall we follow here? |
When you click on such action you should be navigated to the sign in page> updated the expected results section |
@slafortune Whoops! This issue is 2 days overdue. Let's get this updated quick! |
looks good |
Job added to Upwork: https://www.upwork.com/jobs/~01474a89838f9e93ae |
Current assignee @slafortune is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
@BhuvaneshPatil Would you like to update your proposal with more details? Please include permalink to refer where the issue exists and which are the files where you are proposing to make the change. |
Sure @sobitneupane . |
@BhuvaneshPatil I am having some issue while trying to open task report as an anonymous user. So, It is difficult for me to reproduce the issue. Screen.Recording.2023-08-24.at.14.41.01.mov |
@sobitneupane I also face same issue many times, What I do is create a new task and open it. There is an issue created for the same. |
Link to issue - #23491 |
@BhuvaneshPatil Thanks for the update. Let's hold this issue for now. We will come back to it after #23491 gets fixed. cc; @slafortune |
@slafortune, @sobitneupane Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@johncschuster, @sobitneupane Huh... This is 4 days overdue. Who can take care of this? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@johncschuster, @sobitneupane Still overdue 6 days?! Let's take care of this! |
@johncschuster, @sobitneupane Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@johncschuster, @sobitneupane 12 days overdue. Walking. Toward. The. Light... |
@DylanDylann did you follow the exact reproduction steps above to reproduce the behavior, or did you need to modify the repro steps in any way? @sobitneupane it sounds like this behavior still persists. Do you feel the proposals above are sufficient, or do we need to look for alternatives? |
@johncschuster I need to modify the repro steps. See it |
@johncschuster, @sobitneupane Eep! 4 days overdue now. Issues have feelings too... |
Sorry for the delay @DylanDylann. Yup. I can still reproduce the issue. Proposal from @DylanDylann looks good to me. 🎀 👀 🎀 C+ reivewed |
Triggered auto assignment to @youssef-lr, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@youssef-lr What do you think about my proposal here ? |
@johncschuster, @youssef-lr, @sobitneupane Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Sorry folks, I don't think this is a bug worth fixing at the moment. @johncschuster what do you think? |
@youssef-lr @johncschuster This bug will affect not only the title/description, but also all the flow that we do not want the anonymous user can access |
@DylanDylann, can you elaborate on this comment?:
I'm having a hard time understanding what you mean. |
@johncschuster I mean that:
|
@DylanDylann I don't think this is reproducible anymore, modifying the URL still takes me to the sign in page. The inputs show up for a split second, but again I don't think we need to worry about this bug at the moment, as long as clicking on the fields takes us immediately to the sign in page, I think it's fine. Screen.Recording.2024-01-13.at.00.42.15.movThanks for you input here! |
@youssef-lr No. You need to paste the link to the report, send it then click on that |
@youssef-lr Here is the evidence video. You can follow its reproduce steps Screencast.from.13-01-2024.06.58.00.webm |
Right @DylanDylann, but I don't think this is affecting real world users currently, we can definitely revisit it once it does. |
This bug still can be reproduced. User can go to the protected route through internal link Screencast.from.28-02-2024.14.42.21.webm |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
/title
to link. link will be -http://localhost:8082/r/6576534725992156/title
Expected Result:
Navigates to the sign in page
Actual Result:
Title change page can be opened
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: Needs reproduction
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-08-08.at.2.03.24.PM.mov
Expensify/Expensify Issue URL:
Issue reported by: @BhuvaneshPatil
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691484016766219
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: