-
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 2024-07-24] [$250] Workspace member - Hidden admin appears in the members list after changing contact method #44705
Comments
Triggered auto assignment to @anmurali ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace member - Hidden admin appears in the members list after changing contact method What is the root cause of that problem?After adding a second email as a contact method and setting it as the default, the
What changes do you think we should make in order to solve the problem?To resolve this issue, it's preferable to reference the data within // Skip emails that exist in loginList and are not equal to policy.owner
if (loginList.includes(email) && email !== policy?.owner) { return; } Note: We can consider using What alternative solutions did you explore? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Owner account and Hidden user shows after updating default contact method. What is the root cause of that problem?When we update the default contact method, we optimistically update the policy owner to the new default contact method. Lines 879 to 889 in 5ab6be6
However, the previous contact method is still listed in the policy Lines 818 to 825 in 5ab6be6
The badge shows admin because it's not the owner anymore. When we open the ws members page, the BE response will merge the new contact method to the ws member list. What changes do you think we should make in order to solve the problem?Optimistically remove the previous contact method and add the new one to the ws member list. Lines 879 to 897 in 5ab6be6
(and revert it when fails) |
@anmurali Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Can reproduce on staging |
Job added to Upwork: https://www.upwork.com/jobs/~014a16dfba8ca4a44e |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah ( |
Can reproduce on staging 👍 Screen.Recording.2024-07-10.at.12.18.46.AM.movReviewing proposals... |
@bernhardoj's proposal LGTM 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @blimpich, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @rayane-djouah 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
PR is ready cc: @rayane-djouah |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-8 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 2024-07-24. 🎊 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:
|
Requested in ND. |
Regression Test Proposal
Do we agree 👍 or 👎 |
@anmurali, @blimpich, @bernhardoj, @rayane-djouah Whoops! This issue is 2 days overdue. Let's get this updated quick! |
|
$250 approved for @bernhardoj |
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.3-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Intrnal Team
Action Performed:
Precondition: Use Gmail account to login
Expected Result:
Only owner (with a new email) shown in the members list
Actual Result:
Second member as Hidden (Admin) appears in the list. When user clicks on it 'Hmm.. it's not here page' opens
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6530381_1719863704034.ws_admin.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @anmuraliThe text was updated successfully, but these errors were encountered: