docs: private IndexedPermissions loadPermissions() {
          String userId = getCurrentUser();
          try {
              return new IndexedPermissions(getQuery().getPermissions(userId));
          } catch (StorageException e) {
              logger.error(Messages.getString("AbstractSecurityContext.ErrorLoadingPermissions") + userId, e); //$NON-NLS-1$
              return new IndexedPermissions(new HashSet<>());
          }
      }