schema view fix
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 10 Dec 2009 17:59:23 +0100
changeset 4108 f9c51250480a
parent 4107 1f256b896b1d
child 4109 841bc459d5e8
schema view fix
web/views/schema.py
--- a/web/views/schema.py	Thu Dec 10 16:20:43 2009 +0100
+++ b/web/views/schema.py	Thu Dec 10 17:59:23 2009 +0100
@@ -361,7 +361,7 @@
                 and rschema.may_have_permission('read', self._cw))
 
     def should_display_attr(self, eschema, rschema):
-        return (super(RestrictedSchemaVisitorMixIn, self).should_display_attr(rschema)
+        return (super(RestrictedSchemaVisitorMixIn, self).should_display_attr(eschema, rschema)
                 and eschema.rdef(rschema).may_have_permission('read', self._cw))