diff --git a/web-services/query/src/main/java/datawave/webservice/query/util/LookupUUIDUtil.java b/web-services/query/src/main/java/datawave/webservice/query/util/LookupUUIDUtil.java index 16d2405991d..4a10dc2b026 100644 --- a/web-services/query/src/main/java/datawave/webservice/query/util/LookupUUIDUtil.java +++ b/web-services/query/src/main/java/datawave/webservice/query/util/LookupUUIDUtil.java @@ -463,7 +463,7 @@ public String getAuths(String logicName, MultivaluedMap queryPara QueryLogic logic = queryLogicFactory.getQueryLogic(logicName, principal); Query settings = createSettings(queryParameters); if (queryAuths == null) { - logic.preInitialize(settings, WSAuthorizationsUtil.buildAuthorizations(null)); + logic.preInitialize(settings, WSAuthorizationsUtil.buildAuthorizations(((DatawavePrincipal)principal).getAuthorizations())); } else { logic.preInitialize(settings, WSAuthorizationsUtil.buildAuthorizations(Collections.singleton(WSAuthorizationsUtil.splitAuths(queryAuths)))); }