Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.
MIT License
478 stars 306 forks source link

Provide ability to remove "close account" and "subscription actions" buttons in user profile. #2387

Open Gaploid opened 5 months ago

Gaploid commented 5 months ago

Bug description

Ability to remove "close account" and "unsubscribe" buttons from user profile.

Reproduction steps

  1. Go to developer portal
  2. Click on sign in
  3. Click to Profile
  4. You see buttons "close account" that is not possible to hid dele

Expected behavior

Make user profile widget customizable or give ability remove "close account" button and turn off actions for subscriptions.

Is your portal managed or self-hosted?

Managed

Additional context

We are controlling the logic of user/subscription provisioning in our app, and the API is part of a broader offering in our service. We don't want users to be enclosed in API management and lose part of the functionality. We provide our own mechanism for canceling a service account in our app and de-provisioning subscriptions in API management if necessary. However, these buttons add complexity to the UX of our service when users could perform similar actions in different parts of the service.

dev portal cancel button

malincrist commented 4 months ago

Hello @Gaploid , thank you for requesting this feature! I would like to add that you should be able to achieve this behavior by implementing custom widgets that can replace the default ones. You can find more info here. Hope this helps!

davewilksatkeyavi commented 4 months ago

Consider me another user who would like this feature.

bendixon-zelis commented 4 months ago

This would be a welcome feature. We ended up writing a custom widget just to get around this. It can be especially detrimental to have a "close account" button when you are using subscription delegation and have no control over the "close account" behavior. It would also be nice if "close account" was considered for delegation so custom flows could be initiated if the user chose to keep the close account button on the widget.