-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Description
Release 3 - Domain Members Configuration
Access Member Configuration Options
- Navigate to Domain Members page.
- Click on any member row to open their details.
Verify:
- You see the following in the RHP, in order from top to bottom:
- Member avatar and display name
- "Close account" button
- Email address (or phone number)
- Vacation delegate
- Force two-factor authentication (toggle)
- Reset two-factor authentication (only visible when the member's account has 2FA enabled)
- Report suspicious activity (or "Unlock account" if the account is already locked)
- Profile link
Set Vacation Delegate
Preconditions
Have an account that is a part of at least one expense
- Click on a member row.
- Click on the "Vacation delegate" row.
- Verify a page opens showing sections: "Recents" and "Contacts" (and "Current delegate" if one is already set).
- Type a name, email, or phone number in the search field.
- Select a delegate from the suggestions.
Verify:
- The selected delegate appears in the "Vacation delegate" row on the member details page.
- If the member is currently acting as a vacation delegate for other members, the selection list is replaced with an error message listing those members.
Clear Vacation Delegate
- On a member with a vacation delegate set, click the "Vacation delegate" row.
- Tap the current delegate (shown with a selected checkmark) to deselect them.
Verify:
- The vacation delegate is removed.
- The row shows no delegate selected.
Enable 2FA for Specific Member
- Click on a member row who does not have 2FA forced.
- Toggle "Force two-factor authentication" to ON.
Verify:
- The toggle switches to ON without requiring a 2FA code.
- The member will be required to set up 2FA on their next login if they haven't already.
Disable 2FA for Specific Member (Admin has 2FA)
- Ensure you (the admin) have 2FA enabled on your account.
- Click on a member who has 2FA forced (toggle is ON).
- Toggle "Force two-factor authentication" to OFF.
- Verify you are navigated to a "Disable two-factor authentication" page.
- Enter your 2FA code (or recovery code).
- Click "Disable".
Verify:
- The toggle switches to OFF.
- The member's 2FA requirement is removed.
Disable 2FA for Specific Member (Admin does NOT have 2FA)
- Sign in as an admin who does NOT have 2FA enabled.
- Navigate to a member's details page.
- Toggle "Force two-factor authentication" to OFF.
Verify:
- The toggle switches to OFF directly without requiring a 2FA code (since the admin has no 2FA to verify).
Reset Member's 2FA
- Sign in as an admin with 2FA enabled.
- Click on a member who has 2FA enabled (the "Reset two-factor authentication" option should be visible).
- Click "Reset two-factor authentication".
- Verify you are navigated to a "Disable two-factor authentication" page.
- Enter your 2FA code (or use a recovery code).
- Click "Disable".
Verify:
- The member's 2FA is reset.
- The member will need to set up 2FA again on their next login.
Report Suspicious Activity
- Click on a member row.
- Click "Report suspicious activity".
- Verify a page opens with title "Report suspicious activity".
- Review the message: "Are you sure? This will lock [email]'s account. Our team will then review the account and remove any unauthorized access. To regain access, they'll need to work with Concierge."
- Click the red "Report suspicious activity" button at the bottom of the page.
- Verify a confirmation modal appears with title "Report suspicious activity".
- Click "Lock account" to confirm.
Verify:
- The account is locked.
- On the member details page, the "Report suspicious activity" option changes to "Unlock account".
Unlock Account
- On a member with a locked account, verify "Unlock account" is shown instead of "Report suspicious activity".
- Click "Unlock account".
- Verify an informational modal appears with title "We've received your request" and message "We'll review the account to verify it's safe to unlock and reach out via Concierge with any questions."
- Click "Got it".
Verify:
- The modal closes.
- The unlock request is submitted.
Access Domain Members Settings
- From the Domain Members page, click the "More" dropdown button in the top right.
- Verify a popover appears with two options: "Settings" and "Download CSV".
- Click "Settings".
Verify:
- A RHP opens with title "Settings".
- You see a toggle for "Force two-factor authentication" for the entire domain.
- The description reads: "Require two-factor authentication for all members of this domain. Domain members will be prompted to set up two-factor authentication on their account when they sign in."
- If SAML is enabled for the domain, the toggle is disabled and a message to disable SAML first is shown.
Enable Domain-Wide 2FA
- In the Members Settings page, toggle "Force two-factor authentication" ON.
Verify:
- The toggle switches to ON.
- All domain members will be required to enable 2FA.
- Members without 2FA will be prompted to set it up on next login.
Disable Domain-Wide 2FA (Admin has 2FA)
- Ensure you (the admin) have 2FA enabled.
- Toggle "Force two-factor authentication" OFF.
- Verify you are navigated to a "Disable two-factor authentication" page.
- Enter your 2FA code (or recovery code).
- Click "Disable".
Verify:
- The toggle switches to OFF.
- Domain members are no longer required to have 2FA (unless individually set).
Disable Domain-Wide 2FA (Admin does NOT have 2FA)
- Sign in as an admin without 2FA enabled.
- Toggle "Force two-factor authentication" OFF.
Verify:
- The toggle switches to OFF directly without requiring a code.
Download Domain Members CSV
- From the Domain Members page, click "More" button.
- Click "Download CSV" from the popover.
Verify:
- A CSV file is downloaded containing the list of domain members.
- If you are offline, a modal appears saying "You appear to be offline" with a message that this feature requires internet.
Bulk Select Members
- From the Domain Members page (desktop), verify you can see checkboxes next to member rows. On mobile, long-press a member row to enable selection mode.
- Click the checkbox next to one member.
Verify:
- The member row is highlighted/selected.
- A counter appears showing "X selected" where X is the number of selected members.
- The "Add member" button and "More" dropdown are replaced with the "X selected" dropdown.
Bulk Close Accounts
- Select multiple members by clicking their checkboxes (e.g., select 3 members).
- Verify the dropdown button in the top right shows "X selected".
- Click the dropdown.
- Verify one option appears: "Close accounts".
- Click "Close accounts".
- Verify the first modal (DecisionModal) appears with title "Close accounts" and safety precautions text explaining: pending approvals, active reimbursements, and no alternative login methods.
- Choose "Close accounts safely" (green) or "Force close accounts" (red).
- Verify a second confirmation modal appears with title "Close accounts" and prompt "Are you sure? This action is permanent."
- Click "Close accounts" to confirm, or "Cancel" to go back to the first modal.
Verify:
- Both modals are shown in sequence (safety precautions first, then final confirmation).
- All selected members are processed for account closure.
- Members are removed from the domain members list.
- Selection is cleared after closing.
Cancel Bulk Close Accounts
- Select multiple members.
- Click the dropdown and select "Close accounts".
- In the first modal (safety precautions), close it or in the second modal click "Cancel".
Verify:
- The modal closes. If cancelled from the confirmation modal, the safety precautions modal reappears.
- No accounts are closed.
- Members remain selected.
Deselect Members
- Select multiple members.
- Click on a selected member's checkbox again to deselect.
Verify:
- The member is deselected.
- The counter decreases.
- When all members are deselected, the bulk action dropdown is replaced with the "Add member" button and "More" dropdown.
Close Single Member Account
- Click on a member row to open their details.
- Click the "Close account" button near the top of the page.
- Verify the first modal (DecisionModal) appears with title "Close account" and safety precautions text explaining: pending approvals, active reimbursements, and no alternative login methods.
- Choose "Close account safely" (green) or "Force close account" (red).
- Verify a second confirmation modal appears with title "Close account" and prompt "Are you sure? This action is permanent."
- Click "Close account" to confirm, or "Cancel" to go back to the first modal.
Verify:
- Both modals are shown in sequence (safety precautions first, then final confirmation).
- After confirming, the member's account is closed and you are navigated away from the member details page.
- If "Cancel" is clicked in the second modal, the first modal (safety precautions) reappears.
Vacation Delegate Blocked by Active Delegations
- Navigate to a member who is currently acting as a vacation delegate for one or more other members.
- Click the "Vacation delegate" row.
Verify:
- Instead of the normal contact selection list, you see the message: "You can't set a vacation delegate for [email] because they're currently the delegate for the following members:"
- A list of the members they are currently delegating for is shown below the message.
- You cannot select a new vacation delegate until their existing delegations are removed.
SAML Blocks Domain-Wide 2FA Toggle
- On a domain that has SAML enabled, navigate to the Domain Members page.
- Click the "More" dropdown and select "Settings".
Verify:
- The "Force two-factor authentication" toggle is disabled and cannot be interacted with.
- The description text reads "Please disable SAML to force two-factor authentication" with a link to the SAML settings page.
- The normal description about requiring 2FA for all members is not shown.
Offline CSV Download
- Disconnect from the internet (go offline).
- From the Domain Members page, click the "More" dropdown.
- Click "Download CSV".
Verify:
- A modal appears with title "You appear to be offline" and message "This feature requires internet."
- Click "Got it" to dismiss the modal.
- No file is downloaded.
Select All Members
- From the Domain Members page (desktop), locate the header checkbox above the member list.
- Click the header checkbox to select all members.
Verify:
- All eligible members are selected.
- The counter shows the total number of selected members.
- The "Add member" button and "More" dropdown are replaced with the "X selected" dropdown.
- Click the header checkbox again to deselect all members.
Verify:
- All members are deselected.
- The counter is removed and the "Add member" button and "More" dropdown reappear.
Recovery Code Alternative on 2FA Pages
- Navigate to a page that requires a 2FA code (e.g., disable a member's 2FA or reset a member's 2FA).
- On the "Disable two-factor authentication" page, verify the form asks for a 2FA code.
- Click the "Use recovery code" link.
Verify:
- The form switches to accept a recovery code instead of a 2FA code.
- A "Use two-factor authentication code" link appears to switch back.
- Enter a valid recovery code and click "Disable".
Verify:
- The action completes successfully using the recovery code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
Status
Ready for Review