Add more tier matrix checks

This commit is contained in:
Owen
2026-02-09 19:52:28 -08:00
committed by Owen Schwartz
parent 055af927a5
commit 399a18b4fe
8 changed files with 35 additions and 13 deletions

View File

@@ -2,7 +2,7 @@ import { Tier } from "@server/types/Tiers";
export enum TierFeature {
OrgOidc = "orgOidc",
CustomAuthenticationDomain = "customAuthenticationDomain",
LoginPageDomain = "loginPageDomain",
DeviceApprovals = "deviceApprovals",
LoginPageBranding = "loginPageBranding",
LogExport = "logExport",
@@ -18,7 +18,7 @@ export enum TierFeature {
export const tierMatrix: Record<TierFeature, Tier[]> = {
[TierFeature.OrgOidc]: ["tier1", "tier2", "tier3", "enterprise"],
[TierFeature.CustomAuthenticationDomain]: [
[TierFeature.LoginPageDomain]: [
"tier1",
"tier2",
"tier3",

View File

@@ -33,7 +33,6 @@ import { hashPassword } from "@server/auth/password";
import { isValidCIDR, isValidIP, isValidUrlGlobPattern } from "../validators";
import { isLicensedOrSubscribed } from "#dynamic/lib/isLicencedOrSubscribed";
import { tierMatrix } from "../billing/tierMatrix";
import { t } from "@faker-js/faker/dist/airline-DF6RqYmq";
export type ProxyResourcesResults = {
proxyResource: Resource;