From ec32d106e178cda6e4e43c48e7ee9375b07d26ae Mon Sep 17 00:00:00 2001 From: amvanbaren Date: Wed, 23 Oct 2024 13:04:01 +0300 Subject: [PATCH] Set role --- .../openvsx/repositories/ExtensionVersionJooqRepository.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/main/java/org/eclipse/openvsx/repositories/ExtensionVersionJooqRepository.java b/server/src/main/java/org/eclipse/openvsx/repositories/ExtensionVersionJooqRepository.java index 8d279531..1f29e020 100644 --- a/server/src/main/java/org/eclipse/openvsx/repositories/ExtensionVersionJooqRepository.java +++ b/server/src/main/java/org/eclipse/openvsx/repositories/ExtensionVersionJooqRepository.java @@ -481,6 +481,7 @@ private ExtensionVersion toExtensionVersionFull( var user = new UserData(); user.setId(row.get(USER_DATA.ID)); + user.setRole(row.get(USER_DATA.ROLE)); user.setLoginName(row.get(USER_DATA.LOGIN_NAME)); user.setFullName(row.get(USER_DATA.FULL_NAME)); user.setAvatarUrl(row.get(USER_DATA.AVATAR_URL));