Proposed Changes
For sites with multiple users, only the owner of the Titan/Google Workspace subscription is allowed to add/remove mailboxes. Currently, there is no preemptive warning to users about this. This means that they can click the button to add/remove mailboxes, but the action will fail.
With this change, the “Remove mailbox” button is hidden entirely and the “Add new mailboxes” button is disabled if the current user isn’t allowed to perform those actions. We also display an explanation in EmailPlanHeader
for why the buttons are disabled.
Testing Instructions
- Have a site with at least two users and a Titan/Google Workspace subscription. The secondary user should be an administrator.
- Log in as the secondary user
- Navigate to
/email/:domain/manage/:site_slug
- Verify that the action menu for each mailbox does not contain a “Remove mailbox” button
- Verify that the “Add new mailboxes” button is disabled
- Verify that there is a warning text in the header that says
Only the email subscription owner can add or remove mailboxes.
Related to #
Unfortunately, no screenshots were provided by the developer.