Closed jldec closed 2 years ago
For ensuring exactly this we introduced the concept of BillingMode
, with the possible values of none
, chargebee
and usage-based
. And the relevant lines of code are here: if enablePayment
is not set to true
by the installer, the BillingMode
for all users (and teams) defaults to none
.
This BillingMode
influences three things (which cover all ground mentioned above):
upgradeSubscription
or not)EnttilementService
is used to figure out what a user is entitled to do. Here's the implementation for none
(should be named license
, really. My fault :roll_eyes: ): EntitlementServiceLicenseThat being said: we should still test, though. :upside_down_face:
Request deleteTeam failed with message: Stripe is not properly configured
This error blocks from team deletion, if payment is not configured.
@geropl what is the ask here towards the self-hosted team? If this is about spinning up self-hosted environments to test this, you should be able to use the environments during next week's release week to test this :)
@lucasvaltl Absolutely! This was before "release week" was decided :wink:
We should target adding the usage view with the next (October) release.
Issue: "Usage View" is visible in self-hosted but shows broken content. (context: https://gitpod.slack.com/archives/C01KLC56NP7/p1664288507520209 )
FYI - edited issue description to include 2 new issues as sub-tasks (fix usage view and team deletion)
This item has been marked as completed in the 2022.09.0 release document (internal notion), I believe this issue is done.
Feature flags should ensure that there is no impact of UBP on self-hosted Gitpod installations, but this needs to be validated.
known issues