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
[HOLD for payment 2023-10-02] [$500] "Intro to your school principal" page is accessible with a public email #27225
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
The user should be redirected to the page Update your email address (which is the page i-am-a-teacher).
Actual Result:
The page "Intro to your school principal" is shown
Workaround:
Navigate to the other page, which should happen automatically
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: Reproducible in staging?: Reproducible in production?: 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 Expensify/Expensify Issue URL: Issue reported by: Slack conversation:
For this solution, we should consolidate the content of both pages in just one page i-am-a-teacher since we're planning to share the link with the i-am-a-teacher route, and the content should appear dynamically depending on the domain of the main contact method.
Or create two methods (eg renderImTeacherUpdateEmail() and renderIntroSchoolPrincipal) to render the actual content for each respective page, and then render by delegating to the corresponding method.
Solution 2 (redirect)
Make the following updates in the IntroSchoolPrincipalPage component.
changed the title [-]"Intro to your school principal" page is accessible with a public email[/-][+][$500] "Intro to your school principal" page is accessible with a public email[/+]on Sep 13, 2023
changed the title [-][$500] "Intro to your school principal" page is accessible with a public email[/-][+][HOLD for payment 2023-10-02] [$500] "Intro to your school principal" page is accessible with a public email[/+]on Sep 25, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.73-1 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-10-02. 🎊
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.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
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:
[@aimane-chnaif] The PR that introduced the bug has been identified. Link to the PR:
[@aimane-chnaif] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@aimane-chnaif] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@aimane-chnaif] Determine if we should create a regression test for this bug.
[@aimane-chnaif] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@anmurali] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Sep 12, 2023
Triggered auto assignment to @anmurali (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Sep 12, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)marcochavezf commentedon Sep 12, 2023
For this solution, we should consolidate the content of both pages in just one page
i-am-a-teachersince we're planning to share the link with thei-am-a-teacherroute, and the content should appear dynamically depending on the domain of the main contact method.akinwale commentedon Sep 12, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
"Intro to your school principal" page is accessible if a user with a public email accesses the URL directly.
What is the root cause of that problem?
There is no check for the current profile email in the IntroSchoolPrincipalPage component.
What changes do you think we should make in order to solve the problem?
Solution 1 (consolidation to a single page)
ImTeacherPagewith the following changes to render both pages.withOnyxHOC and add the session key towithOnyx.renderImTeacherUpdateEmail()andrenderIntroSchoolPrincipal) to render the actual content for each respective page, and then render by delegating to the corresponding method.Solution 2 (redirect)
Make the following updates in the IntroSchoolPrincipalPage component.
withOnyx.What alternative solutions did you explore? (Optional)
None.
marcochavezf commentedon Sep 13, 2023
Making it external to assign a C+ to review the proposal and move this forward
[-]"Intro to your school principal" page is accessible with a public email[/-][+][$500] "Intro to your school principal" page is accessible with a public email[/+]melvin-bot commentedon Sep 13, 2023
Job added to Upwork: https://www.upwork.com/jobs/~019ebe462993141653
melvin-bot commentedon Sep 13, 2023
Current assignee @anmurali is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Sep 13, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (
External)31 remaining items
melvin-bot commentedon Sep 22, 2023
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀
[-][$500] "Intro to your school principal" page is accessible with a public email[/-][+][HOLD for payment 2023-10-02] [$500] "Intro to your school principal" page is accessible with a public email[/+]melvin-bot commentedon Sep 25, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Sep 25, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.73-1 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-10-02. 🎊
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:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
melvin-bot commentedon Sep 25, 2023
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:
anmurali commentedon Oct 4, 2023
Both paid.