-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
team: webappIssue belongs to the WebApp teamIssue belongs to the WebApp team
Description
Is your feature request related to a problem? Please describe
Until now, we attribute workspace usage hours to Users or Teams directly (which themselves might map to a Stripe Customer).
But, as explained in this comment, it would be good to create an "indirection", and attribute workspace usage to a dedicated "Cost Center" entity.
Describe the behaviour you'd like
- A new "Cost Center" entity should be created (which can potentially map to a Stripe Customer if payments are enabled)
- All workspace usage hours should get pre-attributed to a "Cost Center" instead of a Team
Describe alternatives you've considered
We currently attribute directly to a Team or a User. However, this makes some of the logic implicit (i.e. "if no attributed Team, default to workspace owner"), and does not allow future evolutions like sharing a Cost Center between multiple Teams, or having "Organization"-level Cost Centers (once "Organizations" exist)
Additional context
Metadata
Metadata
Assignees
Labels
team: webappIssue belongs to the WebApp teamIssue belongs to the WebApp team
Type
Projects
Status
Done