diff --git a/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/model/session/BaseWebSession.java b/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/model/session/BaseWebSession.java index 84fcd4a851..86c8fd33c7 100644 --- a/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/model/session/BaseWebSession.java +++ b/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/model/session/BaseWebSession.java @@ -114,7 +114,9 @@ public synchronized boolean updateSMSession(SMAuthInfo smAuthInfo) throws DBExce public synchronized void refreshUserData() { try { userContext.refreshPermissions(); - userContext.refreshAccessibleProjects(); + if (userContext.isAuthorizedInSecurityManager()) { + userContext.refreshAccessibleProjects(); + } } catch (DBException e) { addSessionError(e); log.error("Error refreshing accessible projects", e);