Expired subscription are not being cleared from group

Summary

Expired subscription is not cleared from group when auto renew is off. When the subscription expired, group still has access to the previously purchased plan (Bronze/Silver/Gold). This also blocks customer from purchasing a new subscription.

What is the current bug behavior?

  1. The link between group and subscription doesn't disconnect after the subscription expires
  2. Group still has access to all the feature with previous plan
  3. Buying subscription is impossible without removing the subscription manually in GitLab.com admin panel

Workarounds

Manually set group plan to free in GitLab.com admin panel

Reported examples

  1. https://gitlab.zendesk.com/agent/tickets/149855
  2. https://gitlab.zendesk.com/agent/tickets/149888
  3. https://gitlab.zendesk.com/agent/tickets/150064
  4. https://gitlab.zendesk.com/agent/tickets/150702 (Manually set to free for now)
  5. https://gitlab.zendesk.com/agent/tickets/150656 (Manually set to free so customer can purchase new subscription)
  6. https://gitlab.zendesk.com/agent/tickets/150568 (Manually set to free)
  7. https://gitlab.zendesk.com/agent/tickets/150519 (Manually set to free)
  8. https://gitlab.zendesk.com/agent/tickets/150284 (Manually set to free)
  9. https://gitlab.zendesk.com/agent/tickets/151889 (Manually set to free), the owner who was linked to customers portal was removed from the group
  10. https://gitlab.zendesk.com/agent/tickets/152417 (Manually set to free)
  11. https://gitlab.zendesk.com/agent/tickets/154098 (Manually set to free)
  12. https://gitlab.zendesk.com/agent/tickets/155321
  13. https://gitlab.com/gitlab-com/support/dotcom/dotcom-internal/-/issues/2182
  14. https://gitlab.zendesk.com/agent/tickets/155594 (Manually set to free)
  15. https://gitlab.zendesk.com/agent/tickets/156714 (Manually set to free)
  16. https://gitlab.zendesk.com/agent/tickets/158786 (Manually set to free)
  17. https://gitlab.zendesk.com/agent/tickets/163496
  18. https://gitlab.zendesk.com/agent/tickets/163698
  19. https://gitlab.zendesk.com/agent/tickets/167914
Edited by Sokunrotanak Srey (Rotanak)