mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-15 16:59:35 +02:00
Remove advanced resources paywall
This commit is contained in:
@@ -295,8 +295,8 @@ async function disableFeature(
|
||||
await disableRotateCredentials(orgId);
|
||||
break;
|
||||
|
||||
case TierFeature.MaintencePage:
|
||||
await disableMaintencePage(orgId);
|
||||
case TierFeature.MaintenancePage:
|
||||
await disablemaintenancePage(orgId);
|
||||
break;
|
||||
|
||||
case TierFeature.DevicePosture:
|
||||
@@ -319,10 +319,6 @@ async function disableFeature(
|
||||
await disableAutoProvisioning(orgId);
|
||||
break;
|
||||
|
||||
case TierFeature.AdvancedPrivateResources:
|
||||
await disableAdvancedPrivateResources(orgId);
|
||||
break;
|
||||
|
||||
case TierFeature.FullRbac:
|
||||
await disableFullRbac(orgId);
|
||||
break;
|
||||
@@ -368,13 +364,6 @@ async function disableDeviceApprovals(orgId: string): Promise<void> {
|
||||
logger.info(`Disabled device approvals on all roles for org ${orgId}`);
|
||||
}
|
||||
|
||||
async function disableAdvancedPrivateResources(orgId: string): Promise<void> {
|
||||
// TODO: implement logic to disable advanced private resourcs like ssh and ssh pam
|
||||
// logger.info(
|
||||
// `Disabled advanced private resources on all roles and site resources for org ${orgId}`
|
||||
// );
|
||||
}
|
||||
|
||||
async function disableFullRbac(orgId: string): Promise<void> {
|
||||
logger.info(`Disabled full RBAC for org ${orgId}`);
|
||||
}
|
||||
@@ -506,7 +495,7 @@ async function disableConnectionLogs(orgId: string): Promise<void> {
|
||||
|
||||
async function disableRotateCredentials(orgId: string): Promise<void> {}
|
||||
|
||||
async function disableMaintencePage(orgId: string): Promise<void> {
|
||||
async function disablemaintenancePage(orgId: string): Promise<void> {
|
||||
await db
|
||||
.update(resources)
|
||||
.set({
|
||||
|
||||
Reference in New Issue
Block a user