Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: invalidate cache on updating phone (#6578)
p0ny3d47575b5990
diff --git a/backend/store/principal.go b/backend/store/principal.goindex 6ff90e5565..10a3459745 100644--- a/backend/store/principal.go+++ b/backend/store/principal.go@@ -457,7 +457,7 @@ func (s *Store) UpdateUser(ctx context.Context, userID int, patch *UpdateUserMesreturn nil, err}s.userIDCache.Store(user.ID, user)- if patch.Email != nil {+ if patch.Email != nil && patch.Phone != nil {s.projectIDPolicyCache = sync.Map{}s.projectPolicyCache = sync.Map{}}