in data-catalog-api/server/custos-sharing/src/main/java/org/apache/airavata/datacatalog/api/sharing/SharingManagerImpl.java [272:281]
public void revokePublicAccess(DataProduct dataProduct, Permission permission) throws SharingException {
List<String> userIds = new ArrayList<>();
userIds.add(PUBLIC_ACCESS_GROUP);
try {
custosSharingImpl.revokePermission(dataProduct.getOwner().getTenantId(),
dataProduct.getDataProductId(), permission.name(), userIds);
} catch (CustosSharingException e) {
throw new SharingException(e);
}
}