remove freeAccess user logic (#9866)

closes #9763

---------

Co-authored-by: etiennejouan <jouan.etienne@gmail.com>
This commit is contained in:
Etienne
2025-01-27 17:49:16 +01:00
committed by GitHub
parent 7362558e30
commit 10476fcb01
8 changed files with 11 additions and 50 deletions

View File

@ -35,11 +35,10 @@ export class SSOService {
) {}
private async isSSOEnabled(workspaceId: string) {
const isSSOBillingEnabled =
await this.billingService.hasFreeAccessOrEntitlement(
workspaceId,
this.featureLookUpKey,
);
const isSSOBillingEnabled = await this.billingService.hasEntitlement(
workspaceId,
this.featureLookUpKey,
);
if (!isSSOBillingEnabled) {
throw new SSOException(