Skip to content

[HOLD for payment 2023-07-14] [$1000] Able to request money from Workspaces in main #20830

Closed

Description

@Beamanator

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:

  1. create workspace
  2. Click global create -> Request money
  3. search for workspace you just created

Expected Result:

You shouldn't be able to find it (like in staging)

Actual Result:

You can request money from the workspace (in main) and it doesn't fail

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?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: main
Reproducible in staging?: N
Reproducible in production?: N
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: @niravkakadiya25
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686834315473029

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01948a1cdf660245e0
  • Upwork Job ID: 1669353702452203520
  • Last Price Increase: 2023-06-22

Activity

  1. added
    External
    Daily
    Bug
    on Jun 15, 2023
  2. changed the title [-]Able to request money from Workspaces in `main`[/-] [+][$1000] Able to request money from Workspaces in `main`[/+] on Jun 15, 2023
  3. melvin-bot commented on Jun 15, 2023

    @melvin-bot
  4. melvin-bot commented on Jun 15, 2023

    @melvin-bot

    Triggered auto assignment to @adelekennedy (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  5. melvin-bot commented on Jun 15, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  6. melvin-bot commented on Jun 15, 2023

    @melvin-bot

    Triggered auto assignment to @adelekennedy (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  7. melvin-bot commented on Jun 15, 2023

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 (External)

  8. added
    Help Wanted
    on Jun 15, 2023
  9. melvin-bot commented on Jun 15, 2023

    @melvin-bot

    Triggered auto assignment to @flodnv (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

  10. hungvu193 commented on Jun 15, 2023

    @hungvu193
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Able to request money from Workspaces in main

    What is the root cause of that problem?

    We are allowing to show workspace with iouType request here

    getRequestOptions(searchTerm = '') {
    return OptionsListUtils.getNewChatOptions(
    this.props.reports,
    this.props.personalDetails,
    this.props.betas,
    searchTerm,
    [],
    CONST.EXPENSIFY_EMAILS,
    // If we are using this component in the "Request money" flow then we pass the includeOwnedWorkspaceChats argument so that the current user
    // sees the option to request money from their admin on their own Workspace Chat.
    this.props.iouType === CONST.IOU.MONEY_REQUEST_TYPE.REQUEST,

    What changes do you think we should make in order to solve the problem?

    I think this is intention since it was added 2 month ago 🤔 .
    But in case we don't want to have the workspace inside participant list we can remove this condition:

    this.props.iouType === CONST.IOU.MONEY_REQUEST_TYPE.REQUEST

    What alternative solutions did you explore? (Optional)

    N/A

  11. 48 remaining items

  12. abdulrahuman5196 commented on Jul 17, 2023

    @abdulrahuman5196
    Contributor

    @adelekennedy BZ checklist is complete here #20830 (comment)
    This issue is pending payment processing.

  13. melvin-bot commented on Jul 20, 2023

    @melvin-bot

    @flodnv, @fedirjh, @abdulrahuman5196, @adelekennedy Whoops! This issue is 2 days overdue. Let's get this updated quick!

  14. adelekennedy commented on Jul 20, 2023

    @adelekennedy
    Contributor
  15. abdulrahuman5196 commented on Jul 20, 2023

    @abdulrahuman5196
    Contributor

    Thank you. Applied @adelekennedy

  16. niravkakadiya25 commented on Jul 21, 2023

    @niravkakadiya25
  17. fedirjh commented on Jul 21, 2023

    @fedirjh
    Contributor

    @adelekennedy Thank you! Applied.

  18. niravkakadiya25 commented on Jul 22, 2023

    @niravkakadiya25

    @adelekennedy can you please direct hire me on upwork?

  19. adelekennedy commented on Jul 24, 2023

    @adelekennedy
    Contributor

    @niravkakadiya25 Will you apply here? To make sure I hire the right person.

  20. niravkakadiya25 commented on Jul 24, 2023

    @niravkakadiya25
  21. adelekennedy commented on Jul 24, 2023

    @adelekennedy
    Contributor

    hired - just pending the reporting bonus pay out

  22. adelekennedy commented on Jul 26, 2023

    @adelekennedy
    Contributor

    paid!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions