From 6d2177f2c80aed5416c5e39a297ed58af8fee7b4 Mon Sep 17 00:00:00 2001 From: Michal Hajas Date: Tue, 21 Mar 2023 09:31:54 +0100 Subject: [PATCH] Remove clientRole flag from HotRodRoleEntity (#17655) Closes #17086 --- .../models/map/storage/hotRod/role/HotRodRoleEntity.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/model/map-hot-rod/src/main/java/org/keycloak/models/map/storage/hotRod/role/HotRodRoleEntity.java b/model/map-hot-rod/src/main/java/org/keycloak/models/map/storage/hotRod/role/HotRodRoleEntity.java index d29cc0ef4c..97014ac2a6 100644 --- a/model/map-hot-rod/src/main/java/org/keycloak/models/map/storage/hotRod/role/HotRodRoleEntity.java +++ b/model/map-hot-rod/src/main/java/org/keycloak/models/map/storage/hotRod/role/HotRodRoleEntity.java @@ -80,9 +80,6 @@ public class HotRodRoleEntity extends AbstractHotRodEntity { HotRodRoleEntity entity = getHotRodEntity(); entity.updated |= ! Objects.equals(entity.clientId, clientId); entity.clientId = clientId; - - // Migration from previous version - entity.clientRole = clientId != null; } @Override @@ -113,10 +110,6 @@ public class HotRodRoleEntity extends AbstractHotRodEntity { @ProtoField(number = 5) public String description; - @Basic(sortable = true) - @ProtoField(number = 6) - public Boolean clientRole; - @Basic(sortable = true) @ProtoField(number = 7) public String clientId;