From af0b9d38c0a69721364b14c49434c2db2d4847aa Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 4 Jan 2026 01:08:28 -0800 Subject: [PATCH] Revert "fix(authorization): exclude revoked records when checking existing authorization" This reverts commit ec528a72262e7d2909731747b7cbd402ac83003a. --- .../repositories/authorization-role.repository.impl.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/services/authorization-service/src/infrastructure/persistence/repositories/authorization-role.repository.impl.ts b/backend/services/authorization-service/src/infrastructure/persistence/repositories/authorization-role.repository.impl.ts index 7d813604..f3c1c954 100644 --- a/backend/services/authorization-service/src/infrastructure/persistence/repositories/authorization-role.repository.impl.ts +++ b/backend/services/authorization-service/src/infrastructure/persistence/repositories/authorization-role.repository.impl.ts @@ -121,7 +121,6 @@ export class AuthorizationRoleRepositoryImpl implements IAuthorizationRoleReposi where: { accountSequence: accountSequence, roleType: roleType, - status: { not: AuthorizationStatus.REVOKED }, // 排除已撤销的记录 ...this.notDeleted, }, })