web/views/startup.py
changeset 3720 5376aaadd16b
parent 3503 06bced8edddf
parent 3689 deb13e88e037
child 3890 d7a270f50f54
--- a/web/views/startup.py	Thu Oct 15 11:20:26 2009 +0200
+++ b/web/views/startup.py	Mon Oct 19 15:16:41 2009 +0200
@@ -130,7 +130,7 @@
         """
         req = self._cw
         for eschema in eschemas:
-            if eschema.is_final() or (not eschema.has_perm(req, 'read') and
+            if eschema.final or (not eschema.has_perm(req, 'read') and
                                       not eschema.has_local_role('read')):
                 continue
             etype = eschema.type