mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-24 02:49:09 +00:00
FIX: Manage Permissions Catalog
This commit is contained in:
@@ -50,7 +50,12 @@ export class CatalogController {
|
||||
}
|
||||
|
||||
@Put('manage_permissions/:id')
|
||||
async manageDataAssetPermissions(@Param('id') id: string, @Body() body) {
|
||||
async manageDataAssetPermissions(
|
||||
@Param('id') id: string,
|
||||
@User() user: RequestUser,
|
||||
@Body() body,
|
||||
) {
|
||||
const response = await this.catalogService.managePermissions(body, user);
|
||||
return { message: { id, body } };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user