Remove "Upgrade 馃殌 " item in top-right profile dropdown for Premium SaaS customers
Problem
Users with a Premium subscription applied to at least one group are shown "Upgrade
There's a few limitations at play here:
- Currently, we only have the net-new purchase flow migrated to gitlab.com, which means we can only support first time purchases of premium or ultimate (moving from free to paid). We cannot support upgrading from Premium to Ultimate. That must be done in the customer's Customer Portal instance.
- The top-right user profile is represents a global view of their GitLab experience. Its group agnostic, so when a user is a member of multiple groups, the interactions in this dropdown don't recognize specific actions on specific groups. It's a larger IA issue.
Proposal
For this scenario where a Premium customer wants to upgrade their group to Ultimate, we need to find a way to redirect the customer to their appropriate subscription within Customer Portal so that they can complete their upgrade.
Requirements
-
Upgrade
item in the profile dropdown is only shown to the subscription owner - this is for any case (free or paying group)
Definitions
There are two different things that we call Upgrade
to users, and they are actually very different on the backend:
- Purchasing a paid subscription for a free group
- Changing from one paid subscription tier to a higher tier
We are okay to use the same term - Upgrade
- with the user (because they don't need to know the difference), but these are completely separate flows:
- (1) is a net new subscription purchase, and it can be done by any group Owner of the top-level group. This flow is in .com.
- (2) is an amendment to an existing subscription, and it can only be done by the person who purchased the original subscription (because of the way that we associate subscriptions with users in CDot). This flow is in CDot, but we will eventually be moving it to .com as part of the migration.
Solution
We've determined that for the near future, the best path forward here is to remove the Upgrade :rocket:
from the user profile dropdown for Premium customers.
Once Customer Portal functionality is successfully moved into SaaS and we can provide an experience where Premium customers can upgrade their plan to Ultimate from within the SaaS product, we'll revisit re-adding this experience to the product.