-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-02-14] [$500] Task – Able to edit task as room's member but not a member of Workspace #33420
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0118689f6671de101d |
Triggered auto assignment to @puneetlath ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Users in the same room can not modify the task What is the root cause of that problem?This issue come from here. Lines 882 to 884 in 8970aa3
What changes do you think we should make in order to solve the problem?We should remove this logic to allow all member edit the task Lines 882 to 884 in 8970aa3
Also we revert this PR What alternative solutions did you explore? (Optional) |
Proposalfrom: @unicorndev-727 Please re-state the problem that we are trying to solve in this issue.Users in the same room can not modify the task What is the root cause of that problem?The root cause is that we don't check if the users are the room member in chatRoom here. Lines 871 to 886 in 8970aa3
What changes do you think we should make in order to solve the problem?We need to add this condition in canModifyTask method so that users who is the member in chat room can edit the task.
screen-capture.4.webmscreen-capture.5.webmWhat alternative solutions did you explore?(Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Able to edit task as room's member but not a member of Workspace What is the root cause of that problem?Now in What changes do you think we should make in order to solve the problem?We should disallow the user to modify if the user is not a member of the workspace in Lines 882 to 884 in 2f7c2b2
What alternative solutions did you explore? (Optional) |
Coming from this discussion, the behavior we want is that any room member should be able to edit tasks created in the room. |
updated proposal |
@puneetlath |
@puneetlath, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@puneetlath, @aimane-chnaif Huh... This is 4 days overdue. Who can take care of this? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@aimane-chnaif thoughts on the proposals? |
@puneetlath Currently, If I create a new room in workspace A and create a new task in that room:
Please help to confirm the expected. Note that in the previous issue we only allow creator, admin and assignee edit task cc @aldo-expensify ping you here because we did a related task #31863 before |
@puneetlath, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@puneetlath, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
The expectation is that any room member can edit the task. Specifically when the task is in a room. cc @quinthar @thienlnam |
@puneetlath
|
Current assignee @aimane-chnaif is eligible for the External assigner, not assigning anyone new. |
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@aimane-chnaif The PR is ready for review #35219 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.37-7 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-02-14. 🎊 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 friendly reminder about the checklist so that we can pay in a couple of days. |
Regression Test Proposal
|
Issue for regression test: https://github.com/Expensify/Expensify/issues/369720 |
All paid. Thanks y'all! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v1.4.15-4
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal team
Slack conversation:
Action Performed:
Expected Result:
Able to edit task as room's member but not a member of Workspace
Actual Result:
Room's member but not a member of Workspace can't edit task
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6322845_1703172828811.Room_task.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: