App icon indicating copy to clipboard operation
App copied to clipboard

[Due for payment 2026-11-19] Promote the new `Approve-only` and `Guest` workspace roles on the `Members` page and role selector

Open JmillsExpensify opened this issue 4 weeks ago • 24 comments

Background

We're adding two scoped workspace roles, Approve-only and Guest. Today an admin only finds them by opening the role selector for a specific member, so it's easy to not realize they exist. so most admins

We want admins to learn about the new roles where they already assign roles, without adding another pop-up or modal. We also want to hear which other scoped roles customers need.

This issue adds a New roles badge to the Members item in the workspace menu, a promo banner to the top of the Members page, and a grouped, annotated role selector with New badges and a feedback link. It changes how roles are presented only; no role's permissions change.

Product and design details

Applicability

We show every element in this issue to workspace admins who can change other members' roles, on any workspace where Approve-only and Guest can be assigned. Admins who can't change roles see none of it.

Members item in the workspace menu

Workspace menu with New roles badge on Members

Image
  • We add a New roles badge to the right of Members in the workspace menu (LHN on wide layouts, the workspace menu list on narrow layouts).
  • The badge reads New roles, not New, so admins don't read it as "new members."
  • We reuse the existing badge component used elsewhere in the LHN; no new component.
  • The badge hides once the admin dismisses the banner below. See Dismissal.

Banner on the Members page

Members page with default promo banner

Image
  • We add a banner at the top of the Members page, above Total workspace members.
  • We reuse the existing default promo banner (icon, title, supporting copy, close button); no new banner style.
  • Title: New roles available
  • Supporting copy: Give members just the access they need with new Approve-only and Guest roles., with Approve-only and Guest in bold.
  • Clicking the × dismisses the banner. See Dismissal.
  • We don't add a badge or tooltip to the Role column header.

Role selector RHP

Role RHP, grouped and alphabetical

Image

Header copy, above the list:

  • Assign a role to manage a member's workspace permissions. Compare workspace roles.
  • Compare workspace roles is a link that opens Managing Workspace Members in a new tab.

The list is split into two groups, each with a small group label, and a divider between them. Within each group, roles are in alphabetical order:

  1. Admin roles
    • Card admin: Manage workspace cards
    • Payments admin: Manage workflow payments
    • People admin: Manage members and approval workflows
    • Workspace admin: Manage reports and workspace settings
  2. Other roles
    • Approve-only with a New badge: Approve reports only
    • Auditor: View and comment on reports
    • Guest with a New badge: Submit reports with limited visibility
    • Member: Submit and approve reports

Footer, centered above Save:

  • Not seeing the role you need? Let us know.
  • Let us know opens a Concierge chat so the admin can describe the role they need.

The grouping, order, and header copy are permanent. Only the New badges are temporary.

Dismissal

  • Dismissing the banner is saved per admin, not per workspace, so an admin with several workspaces dismisses it once.
  • When the admin dismisses the banner, the New roles badge on Members also hides.
  • The New badges in the role selector stay until the promotion ends, independent of the banner.
  • We stop showing the banner, the New roles badge, and the New role badges for everyone 90 days after the roles launch.
Issue OwnerCurrent Issue Owner: @mallenexpensify

JmillsExpensify avatar Nov 03 '26 19:11 JmillsExpensify

@JS00001 any feedback on this dismissal logic? Maybe it's not worth it, and we just show thisfor 60 days and then remove it. Could be a more simple approach?

JmillsExpensify avatar Nov 03 '26 19:11 JmillsExpensify

@JmillsExpensify I see a few approaches we could take here:

  1. We should definitely add an NVP for dismissal, where the user can dismiss the banner/badge at any time
  2. As for the 60-90 day lifespan of this appearing, we could probably take two different approaches:
  • We just create the badges, and then in 90 days, merge a PR to remove the badges
  • We add some date-specific code in e/app to hide the banner after a certain time, and then we put up a PR to remove all of the code at any point in the future

Tbh it seems simpler to have krishna create the badges, and then create a PR to remove the badges at the same time. Then in roughly 90 days, we can merge the follow up PR to remove the badges

JS00001 avatar Nov 03 '26 19:11 JS00001

That's cool with me. I can create an issue to remove them in that timeframe. Down to simplify.

JmillsExpensify avatar Nov 03 '26 19:11 JmillsExpensify

Sounds good, I have a Pr to add the nvp, @Krishna2323 it'll be for DismissProductTraining with name newWorkspaceRolesBanner

JS00001 avatar Nov 03 '26 19:11 JS00001

Thanks. Added @daledah for any reviews as well

JmillsExpensify avatar Nov 03 '26 21:11 JmillsExpensify

@JS00001 @JmillsExpensify Front-end is done: https://github.com/Expensify/App/pull/106052

Approve-only is still blocked on main (#104952), so the badge, the banner and the Approve-only row stay hidden for now. They'll show automatically once the block is lifted. Can we merge without it, or should we wait?

@Expensify/design it would be great if I can get the figma file access, just to be sure I'm using the correct values.

https://github.com/user-attachments/assets/1599a7cf-d6a7-4726-8a55-ebb2d3f6e9e5

Krishna2323 avatar Nov 05 '26 22:11 Krishna2323

Shout, yes that makes the PR somewhat hard to test. The new roles page looks really nice though, very cool. Given that these are small product marketing enhancement, I would be fine to keep it moving and we keep the issue open until all scope is visible.

JmillsExpensify avatar Nov 05 '26 23:11 JmillsExpensify

👋 sorry for the late add, but @daledah can we update the compare workspace roles link to use this instead: https://help.expensify.com/articles/new-expensify/workspaces/Understand-Workspace-Roles-and-Permissions

Note that the URL is not live yet, but it will be as soon as this is merged https://github.com/Expensify/App/pull/106171

stephanieelliott avatar Nov 06 '26 06:11 stephanieelliott

@Krishna2323 could you please check this comment?

daledah avatar Nov 06 '26 06:11 daledah

@Krishna2323 check here!

shawnborton avatar Nov 06 '26 10:11 shawnborton

PR is merged!

Krishna2323 avatar Nov 10 '26 20:11 Krishna2323

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

melvin-bot[bot] avatar Nov 11 '26 02:11 melvin-bot[bot]

Deploy Blocker https://github.com/Expensify/App/issues/106589 was identified to be related to the PR https://github.com/Expensify/App/pull/106052 that attempted to fix this issue.

Chandkia24 avatar Nov 11 '26 02:11 Chandkia24

Deploy Blocker https://github.com/Expensify/App/issues/106589 was identified to be related to the PR https://github.com/Expensify/App/pull/106052 that attempted to fix this issue.

The App shipped the comparison link before its destination article was published. The documentation PR remains open and unmerged.

not a blocker because the documentation PR remains open and unmerged

daledah avatar Nov 11 '26 03:11 daledah

Deploy Blocker https://github.com/Expensify/App/issues/106606 was identified to be related to the PR https://github.com/Expensify/App/pull/106052 that attempted to fix this issue.

jponikarchuk avatar Nov 11 '26 07:11 jponikarchuk

Cross-posting from Slack -- no need to block on this, it's being addressed here: https://expensify.slack.com/archives/C01GTK53T8Q/p1794427377024229?thread_ts=1794362359.913849&cid=C01GTK53T8Q

stephanieelliott avatar Nov 11 '26 20:11 stephanieelliott

@Krishna2323 / @daledah

The solution for this issue has been :rocket: deployed to production :rocket: in version 9.5.36-0 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

  • https://github.com/Expensify/App/pull/106052

If no regressions arise, payment will be issued on 2026-11-19. :confetti_ball:

The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]

melvin-bot[bot] avatar Nov 12 '26 08:11 melvin-bot[bot]

@Krishna2323 Eep! 4 days overdue now. Issues have feelings too...

Deploy Blocker https://github.com/Expensify/App/issues/106606 was identified to be related to the PR https://github.com/Expensify/App/pull/106052 that attempted to fix this issue.

I think the wording of step 6 caused the confusion, and the expected and actual results in this report may be the wrong way round.

not a bug https://github.com/Expensify/App/issues/106606#issuecomment-6804140361

daledah avatar Nov 18 '26 03:11 daledah

Contributor+ Checklist:

  • [x] [Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

    Link to the comment on the PR: N/A

  • [x] [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

    Link to discussion:

  • [x] [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

Regression Test Proposal

Precondition:

  • Use an admin on a Control workspace, with the local revert from the note above.

Test:

  1. Verify Members in the workspace menu has a New roles badge.
  2. Open Members and verify the banner shows. Dismiss it and verify the banner and the badge both disappear.
  3. Open a member > Role. Verify:
    • Admin roles: Card admin, Payments admin, People admin, Workspace admin
    • Other roles: Approve-only, Auditor, Guest, Member
    • New badges on Approve-only and Guest
  4. Verify Compare workspace roles opens the help article and Let us know opens Concierge.
  5. Change the role and save. Verify it updates.
  6. Verify the same selector in bulk Change role, invite and import.
  7. As a People admin, verify only Other roles shows.
  8. Verify the add agent default role is still Workspace admin.
  9. As a non-admin, or on a Collect workspace, verify there is no badge or banner.

Do we agree 👍 or 👎

daledah avatar Nov 18 '26 03:11 daledah