Enterprise plan required for private app sharing (#19393)

## before

<img width="1512" height="696" alt="image"
src="https://github.com/user-attachments/assets/d57f398e-6ac3-4ce0-a54b-a23ae41b1890"
/>


## after

<img width="923" height="448" alt="image"
src="https://github.com/user-attachments/assets/f4fea42e-1019-4287-9302-42da143ee878"
/>
This commit is contained in:
martmull
2026-04-07 14:17:59 +02:00
committed by GitHub
parent 1c9fc94c1f
commit fe07de63b0
8 changed files with 49 additions and 97 deletions
@@ -292,25 +292,6 @@ export class ApplicationRegistrationResolver {
});
}
@UseGuards(
WorkspaceAuthGuard,
SettingsPermissionGuard(PermissionFlagType.API_KEYS_AND_WEBHOOKS),
)
@Query(() => String)
async getApplicationShareLink(
@Args('id') id: string,
@AuthWorkspace() { id: workspaceId }: WorkspaceEntity,
): Promise<string> {
const registration = await this.applicationRegistrationService.findOneById(
id,
workspaceId,
);
const frontUrl = this.domainServerConfigService.getFrontUrl();
return `${frontUrl.origin}/settings/applications/available/${registration.universalIdentifier}`;
}
@UseGuards(
WorkspaceAuthGuard,
SettingsPermissionGuard(PermissionFlagType.APPLICATIONS),