You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-02-25] Whisper to admin and auditor when their role is changed to user #49634
When we change a user's role from Admin or Auditor to user we remove them from all workspace chats they had access to, except for their own. Since they've been removed from the #admins room for the workspace, they won't have any context on their role change or why they no longer have access to the chats they once did.
Solution
Similar to how we handle approvers who are removed from workspace chats (PR for that here), we'll send a whisper to admins and auditors in their workspace chat when their role is updated and access to other workspace chats is removed.
Admin copy for the whisper:
[Admin] updated your role in [Workspace Name] from admin to user. You have been removed from all submitter workspace chats except for your own.
Auditor copy for the whisper:
[Admin] updated your role in [Workspace Name] from auditor to user. You have been removed from all submitter workspace chats except for your own.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.99-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@heekinho] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
[@bfitzexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.
@flodnv I'm not sure this apply to this PR?
I don't have access to TestRail, I read the recommendations and I'm unsure how to proceed here.
This is not a bug fix, it's a feature implementation. Nonetheless, I think the steps on the PR should be the ones to follow here, if necessary.
Feature: Whisper to admin and auditor when their role is changed to user
Proposed Test Steps:
Create an user account. This will be owner of the workspace.
Create another account in a second browser (or incognito mode), this will be the guest of the owner's workspace.
In the first browser (owner), create a workspace (Settings > Workspace > New Workspace). Give it a name and confirm.
In the just created workspace page, click the "Invite" button
Invite the second account by typing their email and then select Admin for the role.
The workspace should automatically appear on the second account. You can see a welcome message in the workspace.
In the first account, select the invited user in the members page (Settings > Workspaces > Workspace > Members)
In the window that opened, change the role from Admin to User
The whisper notice should appear in the workspace of the invited user
Activity
melvin-bot commentedon Sep 24, 2024
Triggered auto assignment to @bfitzexpensify (
NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.bfitzexpensify commentedon Oct 1, 2024
Remains a hot pick, waiting to be picked up
bfitzexpensify commentedon Oct 10, 2024
Remains a hot pick, waiting to be picked up
72 remaining items
melvin-bot commentedon Feb 18, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Feb 18, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.99-2 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 2025-02-25. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Feb 18, 2025
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
bfitzexpensify commentedon Feb 24, 2025
@heekinho please complete the step here #49634 (comment)
melvin-bot commentedon Feb 25, 2025
Payment Summary
Upwork Job
BugZero Checklist (@bfitzexpensify)
heekinho commentedon Feb 25, 2025
@flodnv I'm not sure this apply to this PR?
I don't have access to TestRail, I read the recommendations and I'm unsure how to proceed here.
This is not a bug fix, it's a feature implementation. Nonetheless, I think the steps on the PR should be the ones to follow here, if necessary.
Feature: Whisper to admin and auditor when their role is changed to user
Proposed Test Steps:
Do we agree 👍 or 👎
bfitzexpensify commentedon Feb 25, 2025
Those look good to me, thanks @heekinho. Opened https://github.com/Expensify/Expensify/issues/474124. Closing this out.
flodnv commentedon Feb 25, 2025
Yep, thanks!