Editing permissions in the CRM Super Admin

This commit is contained in:
2026-09-21 16:38:24 +03:30
parent ebf13cfde5
commit f5a4eb577b
6 changed files with 292 additions and 98 deletions
+2 -2
View File
@@ -85,8 +85,8 @@ export class PlatformController {
}
@Get('users')
listUsers(@Query('q') q?: string) {
return this.platform.listUsers(q);
listUsers(@Query('q') q?: string, @Query('owners') owners?: string) {
return this.platform.listUsers(q, owners === '1' || owners === 'true');
}
@Get('users/:id')