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:
-19
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user