-
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
Block chronos@, receipts@ and concierge@ from Split Bill and Request Money #4413
Comments
Triggered auto assignment to @sonialiap ( |
Triggered auto assignment to @pecanoro ( |
We should probably also block |
@pecanoro proposed changes are available in drafted PR. @sonialiap excluded |
@pecanoro Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Triggered auto assignment to @stephanieelliott ( |
Anyways, regardless of the front end, maybe we should open an issue to block this in the back-end as well. I will open an issue for it in our other repos. |
@pecanoro Yes, that would be even safer. |
Updated ProposalFollowing are the changes, we need to make to restrict this in client-side search.
@pecanoro If you are okay with the proposal, I'll wrap my PR work. |
Posted to Upwork: https://www.upwork.com/jobs/~013379d6a3621d716e |
@stephanieelliott Let's hire @Santhosh-Sellavel please, thanks! |
Hey @Santhosh-Sellavel can you post a proposal to the job in Upwork so we can hire you? https://www.upwork.com/jobs/~013379d6a3621d716e |
Applied @stephanieelliott |
Great, gotcha @Santhosh-Sellavel! |
Triggered auto assignment to @mallenexpensify ( |
I'm taking an extended OOO, re-applied the External label to get another CM to take this the rest of the way, thanks @mallenexpensify! |
I see the PR related to this issue is here. Still being reviewed. |
Hit a minor snag on this issue since there is another PR that adds a handful of other "expensify emails" and it may change the solution somewhat as there are other emails that should also be blocked. It also looks like we should already be preventing emails like App/src/libs/OptionsListUtils.js Lines 415 to 425 in 95bf36d
@pecanoro just to double check we probably do not want to be able to create IOUs with any of these If so, then it is probably best to:
App/src/libs/OptionsListUtils.js Lines 325 to 327 in 95bf36d
@Jag96 what do you think of this solution? I'm unsure if we still want to keep the individual flags for excluding a specific participant with so many to exclude. I think we can just get rid of them as the only place where these emails are excluded are in the IOU selectors? |
If we're always going to apply the same logic for all of those accounts, then I think it's fine to use |
Ah nice catch thanks @Jag96 I missed that we were passing Sorry for the back and forth here @Santhosh-Sellavel but just want to make sure we have a solid path forward and aren't introducing a solution we don't need. I know it's not the original proposal we discussed, but are you OK to make these changes? |
Maybe an option |
Possibly, but I think in most cases we want to allow them. It's less common (so far) to want to exclude them (we only want to exclude all emails in 2 places and a single email in 1 place). We'd have to do something like allowedExpensifyEmails: _.without(EXPENSIFY_EMAILS, '[email protected]') which is less intuitive than In IOU components... excludeExpensifyLogins: true, and In excludeReceipts: true, That said, it does seem kind of specific to have loginsToExclude: EXPENSIFY_EMAILS, loginsToExclude: [CONST.EMAIL.RECEIPTS], |
Sure @marcaaron, I'll make the changes. And raise a new PR! |
@marcaaron whatever we discussed here is captured in this draft PR #4821, also there are some additional emails as well. |
Ok well there is no sense in having two separate issues handling the same thing. @AndrewGable @deetergp it would be good if there was some way to prevent contributors from working on the same issues in the future. Seeing as @Santhosh-Sellavel opened the issue first I suggest that we close this. @mallenexpensify I think we should just pay @Santhosh-Sellavel and close this out. |
@mallenexpensify Since this issue already closed. Kindly end the contract when you have time without any negative feedbacks. Thanks! |
Cancelled in Upwork, left positive feedback for you @Santhosh-Sellavel |
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:
#4413 (comment)
We should also block '[email protected]'.
Note: Chronus is shown in results only for the first time. if entered in lower case it will not show in results refer to attachments
From the second time, Chronus will show in Recents will not be able to reproduce.
There is an already issue for that raised here #4411
Expected Result:
We should not be able to request from Concierge or Chronos
Actual Result:
Concierge
Request-money.from.concierge.mov
Chronus:
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:
Where is this issue occurring?
Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: