canUseHiddenBeta static method

bool canUseHiddenBeta()

Hidden-beta gate for features that must stay invisible to the general public during the Itzli launch but remain accessible to admins and to paying users that help us dogfood them (InterComm, Booking, VST, DAW).

Unlike canUseBeta, the three conditions are OR-ed: any single one grants access. This lets us ship with showBetaFeatures = false while still letting premium+ members try in-progress features.

Resolution order (any match wins):

  1. Global showBetaFeatures master switch is on, OR
  2. Admin bypass, OR
  3. User subscription >= premium.

Implementation

static bool canUseHiddenBeta() {
  if (showBeta) return true;
  if (isAdmin) return true;
  return isPremiumOrAbove();
}