goa/appobjects/components.py
changeset 3720 5376aaadd16b
parent 3023 7864fee8b4ec
parent 3689 deb13e88e037
child 4023 eae23c40627a
--- a/goa/appobjects/components.py	Thu Oct 15 11:20:26 2009 +0200
+++ b/goa/appobjects/components.py	Mon Oct 19 15:16:41 2009 +0200
@@ -67,7 +67,7 @@
     """
     req = self.req
     for eschema in eschemas:
-        if eschema.is_final() or not (eschema.has_perm(req, 'read') or
+        if eschema.final or not (eschema.has_perm(req, 'read') or
                                       eschema.has_local_role('read')):
             continue
         etype = eschema.type