fix(user-privilege) perbaikan validasi delete inactive related
parent
14559290cf
commit
63b9a3028a
|
@ -24,7 +24,7 @@ export class BatchDeleteUserPrivilegeManager extends BaseBatchDeleteManager<User
|
|||
}
|
||||
|
||||
get validateRelations(): validateRelations[] {
|
||||
return [];
|
||||
return [{ relation: 'users' }];
|
||||
}
|
||||
|
||||
get entityTarget(): any {
|
||||
|
|
|
@ -24,7 +24,7 @@ export class BatchInactiveUserPrivilegeManager extends BaseBatchUpdateStatusMana
|
|||
}
|
||||
|
||||
get validateRelations(): validateRelations[] {
|
||||
return [];
|
||||
return [{ relation: 'users' }];
|
||||
}
|
||||
|
||||
get entityTarget(): any {
|
||||
|
|
|
@ -27,7 +27,7 @@ export class DeleteUserPrivilegeManager extends BaseDeleteManager<UserPrivilegeE
|
|||
}
|
||||
|
||||
get validateRelations(): validateRelations[] {
|
||||
return [];
|
||||
return [{ relation: 'users' }];
|
||||
}
|
||||
|
||||
get entityTarget(): any {
|
||||
|
|
|
@ -27,7 +27,7 @@ export class InactiveUserPrivilegeManager extends BaseUpdateStatusManager<UserPr
|
|||
}
|
||||
|
||||
get validateRelations(): validateRelations[] {
|
||||
return [];
|
||||
return [{ relation: 'users' }];
|
||||
}
|
||||
|
||||
get entityTarget(): any {
|
||||
|
|
Loading…
Reference in New Issue