Skip to content

[HOLD 296932][$1000] Web - Member from Share Somewhere in assign task (creating from group) can choose assignee, results in error #21580

@kbecciv

Description

@kbecciv

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 a group
  2. Using User A create a task, don't assign it to anybody and leave the default options as it's
  3. Log in using User B (member of same group in which task was created)
  4. Navigate to task page.
  5. Try assigning the user to task ( as User B )
  6. Note that a selected user is assigned to task ( but in the network tab shows error error [shown in the recording])
  7. Note the assignee is there even we are getting error
  8. If we check from User A, assignee is not there

Expected Result:

User B should not be able to assign the task to someone, if they are not a policy admin, the task creator, or a current task assignee.

User B should be able to assign the task to someone if they are a policy admin, the task creator, or the current assignee.

Actual Result:

User B can assign the task to someone when they are not a policy admin, the task creator or current task assignee. However, the assignee only appears in their account and does not appear in user A's (who is the task creator).

Workaround:

Unknown

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: 1.3.30-5
Reproducible in staging?: y
Reproducible in production?: y
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

Assignee.bug.in.grp.task.-.Made.with.Clipchamp.1.mp4
Recording.896.mp4

image (99)

Expensify/Expensify Issue URL:
Issue reported by: @BhuvaneshPatil
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687434560850899

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01e2d2c3fd882a94d6
  • Upwork Job ID: 1674164051273023488
  • Last Price Increase: 2023-06-28

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.InternalRequires API changes or must be handled by Expensify staffWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions