Editing permissions in the CRM Super Admin
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user