-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Public room - Tour link appears for anonymous user in public room #52115
Comments
Triggered auto assignment to @jliexpensify ( |
Triggered auto assignment to @arosiclair ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Public room - Tour link appears for anonymous user in public room### What is the root cause of that problem? What is the root cause of that problem?Offending PR: #51136 We did not check here if the user is anonymous App/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx Lines 441 to 445 in 7b9a0cd
What changes do you think we should make in order to solve the problem?We should check here if the user anonymous App/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx Lines 441 to 445 in 7b9a0cd
Or we can prevent of opening the url if the user is anonymous App/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx Lines 449 to 451 in 7b9a0cd
onSelected: () => {
if(Session.isAnonymousUser()) {
return;
}
Welcome.setSelfTourViewed();
Link.openExternalLink(navatticURL);
}, What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tour link appears for anonymous user in public room. What is the root cause of that problem?We don't check the user is anonymous user or not when clicking on the tour item
What changes do you think we should make in order to solve the problem?We should use
What alternative solutions did you explore? (Optional) |
I reproduced in staging web. I'm not sure this is a real bug honestly. The tour link works just fine as an anonymous user (it just links to an external website). Either way, it's a brand new feature and a minor issue (if it all) so I'll demote this. |
@mountiny @rushatgabhane can you guys take a look at this? It doesn't seem like a problem to me but you guys would know better. |
Assigned Rushat for 👀 |
Not a bug. Anonymous users should be able to see tour, i don't see why that would be a problem |
I agree, I don't think its a problem that the anonymous users can see the tour link |
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: 9.0.58-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Tour link will not appear for anonymous user.
Actual Result:
Tour link appears for anonymous user in public room.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6656088_1730861803145.20241106_105351.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: