941bf3e7563bb711b79180aa572f7250a3548d51
angie
  Fri Sep 3 15:28:41 2010 -0700
Redmine #717: obey tableBrowser off setting in 'selected fields from primary and related tables' page (thanks Brooke) and table schema 'Connected Tables and Joining Fields'.
diff --git src/hg/hgTables/schema.c src/hg/hgTables/schema.c
index 55b3cd7..35cb1dc 100644
--- src/hg/hgTables/schema.c
+++ src/hg/hgTables/schema.c
@@ -379,6 +379,8 @@
     webNewSection("Connected Tables and Joining Fields");
     for (jp = jpList; jp != NULL; jp = jp->next)
 	{
+	if (accessControlDenied(jp->b->database, jp->b->table))
+	    continue;
 	struct joinerSet *js = jp->identifier;
 	boolean aViaIndex, bViaIndex;
 	hPrintSpaces(6);