PermissionThreadLocal.getPermissionChecker(), groupId,
ActionKeys.ADD_VOCABULARY)) {
serviceContext.setScopeGroupId(groupId);
}
else {
<BUG>_log.error("Vocabulary " + assetVocabulary.getName() +
" could not be imported to the Global scope because"

+ " the user doesn't have enough permissions. " +
"It will be imported into the current scope.");

}</BUG>
}

PermissionThreadLocal.getPermissionChecker(), groupId,
ActionKeys.ADD_VOCABULARY)) {
serviceContext.setScopeGroupId(groupId);
}
else {
StringBundler sb = new StringBundler(5);
sb.append("Vocabulary ");
sb.append(assetVocabulary.getName());
sb.append(" could not be imported to the Global scope ");
sb.append("because the user does not have permissions. ");
sb.append("It will be imported into the current scope.");
_log.error(sb.toString());
}
}
