5906ea1a00349cc4c2827103972f2f7728782823 hiram Tue May 25 09:23:07 2021 -0700 the omim tables are protected data refs #24208 diff --git src/hg/hubApi/apiUtils.c src/hg/hubApi/apiUtils.c index b6e5854..472a4a5 100644 --- src/hg/hubApi/apiUtils.c +++ src/hg/hubApi/apiUtils.c @@ -616,30 +616,32 @@ else return TRUE; /* might be true */ } boolean protectedTrack(struct trackDb *tdb, char *tableName) /* determine if track is off-limits protected data */ { boolean ret = FALSE; /* this is a fixed list for now since there are so few and this * takes care of the situation where the tableName might be for a table * that has no trackDb entry */ if (sameOk(tableName, "cosmicRegions")) ret = TRUE; +else if (startsWith("omim", tableName)) + ret = TRUE; else if (sameOk(tableName, "decipherRaw")) ret = TRUE; else if (sameOk(tableName, "knownToDecipher")) ret = TRUE; else if (sameOk(tableName, "knownCanonToDecipher")) ret = TRUE; else if (sameOk(tableName, "decipherSnvsRaw")) ret = TRUE; else if (sameOk(tableName, "lovd")) ret = TRUE; else if (sameOk(tableName, "lovdShort")) ret = TRUE; else if (sameOk(tableName, "lovdLong")) ret = TRUE; else if (sameOk(tableName, "lovdComp"))