feat(web): Added admin user config to user settings (#15380)
* feat(web): Added admin user config to user settings * feat (web) - cleaned up the files and added tests * feat (web) - added missing files * feat (web) - updated per review comments * feat (web) - e2e admin command test failures
This commit is contained in:
@@ -106,6 +106,10 @@ export class UserAdminCreateDto {
|
||||
@Optional()
|
||||
@IsBoolean()
|
||||
notify?: boolean;
|
||||
|
||||
@Optional()
|
||||
@IsBoolean()
|
||||
isAdmin?: boolean;
|
||||
}
|
||||
|
||||
export class UserAdminUpdateDto {
|
||||
@@ -145,6 +149,10 @@ export class UserAdminUpdateDto {
|
||||
@Min(0)
|
||||
@ApiProperty({ type: 'integer', format: 'int64' })
|
||||
quotaSizeInBytes?: number | null;
|
||||
|
||||
@Optional()
|
||||
@IsBoolean()
|
||||
isAdmin?: boolean;
|
||||
}
|
||||
|
||||
export class UserAdminDeleteDto {
|
||||
|
||||
Reference in New Issue
Block a user