avoid failure by simply not displaying this section for now"
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 09 Dec 2009 18:24:18 +0100
changeset 4092 df554ae4203c
parent 4091 3fc6a53b7a6a
child 4093 61b482fe826a
avoid failure by simply not displaying this section for now"
schemaviewer.py
--- a/schemaviewer.py	Wed Dec 09 17:51:19 2009 +0100
+++ b/schemaviewer.py	Wed Dec 09 18:24:18 2009 +0100
@@ -217,8 +217,8 @@
                     data.append(Text(val))
         table = Table(cols=cols, rheaders=1, children=data, klass='listing')
         layout.append(Section(children=(table,), klass='relationDefinition'))
-        if not self.req.cnx.anonymous_connection:
-            layout.append(self.format_acls(rschema, ('read', 'add', 'delete')))
+        #if self.req.user.matching_groups('managers'):
+        #    layout.append(self.format_acls(rschema, ('read', 'add', 'delete')))
         layout.append(Section(children='', klass='clear'))
         return layout