Merge branch 'beta' into bugfix/catalog-module-main

This commit is contained in:
2026-08-12 09:58:58 -03:00
committed by GitHub
20 changed files with 772 additions and 45 deletions
+18 -1
View File
@@ -283,6 +283,23 @@ export class CatalogController {
}
@Get('custom-properties')
@RequireSomePermission(
PERMISSIONS_GROUPS.CATALOG.permissions.GET,
PERMISSIONS_GROUPS.CATALOG.permissions.DATA_MANAGER,
)
async getCustomPropertyDefinitions(@User() user: RequestUser) {
const { customer_id, customer_name, user_id, username } = user;
const metadata = PackTheMetadata({
customer_id,
customer_name,
user_id,
username,
});
return this.catalogService.getCustomPropertyDefinitions(metadata);
}
@Get('data-asset/:id')
@RequireSomePermission(
PERMISSIONS_GROUPS.CATALOG.permissions.GET,
@@ -1056,4 +1073,4 @@ export class CatalogController {
this.logger.error(error.message);
}
}
}
}