mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) stop applying product limits to grist-core
Summary: Limits crafted for our SaaS product were getting applied to grist-core users. This diff removes them. There will be limits on a future self-managed product. Test Plan: checked manually Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3255
This commit is contained in:
@@ -126,12 +126,13 @@ const PRODUCTS: IProduct[] = [
|
||||
* Get names of products for different situations.
|
||||
*/
|
||||
export function getDefaultProductNames() {
|
||||
const defaultProduct = process.env.GRIST_DEFAULT_PRODUCT;
|
||||
return {
|
||||
personal: 'starter', // Personal site start off on a functional plan.
|
||||
teamInitial: 'stub', // Team site starts off on a limited plan, requiring subscription.
|
||||
personal: defaultProduct || 'starter', // Personal site start off on a functional plan.
|
||||
teamInitial: defaultProduct || 'stub', // Team site starts off on a limited plan, requiring subscription.
|
||||
teamCancel: 'suspended', // Team site that has been 'turned off'.
|
||||
team: 'team', // Functional team site.
|
||||
teamFree: 'teamFree',
|
||||
team: defaultProduct || 'team', // Functional team site.
|
||||
teamFree: defaultProduct || 'teamFree',
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user