FIX: Data assets permissions

This commit is contained in:
Victor Radael
2022-09-29 15:04:31 -03:00
parent 5d924f8a92
commit e3c203d673
4 changed files with 17 additions and 1 deletions
@@ -78,11 +78,14 @@ export class CatalogController {
customer: body.info.customer,
});
const roles = await this.catalogService.getUserRolesIds(user_id);
const metadata = PackTheMetadata({
user_id,
customer_id,
customer_name,
username,
roles,
});
const res = await this.catalogService.getAllOpenSearchDataAssets(