goa/appobjects/components.py
changeset 3720 5376aaadd16b
parent 3023 7864fee8b4ec
parent 3689 deb13e88e037
child 4023 eae23c40627a
equal deleted inserted replaced
3678:29f74716fd70 3720:5376aaadd16b
    65     """return a list of formatted links to get a list of entities of
    65     """return a list of formatted links to get a list of entities of
    66     a each entity's types
    66     a each entity's types
    67     """
    67     """
    68     req = self.req
    68     req = self.req
    69     for eschema in eschemas:
    69     for eschema in eschemas:
    70         if eschema.is_final() or not (eschema.has_perm(req, 'read') or
    70         if eschema.final or not (eschema.has_perm(req, 'read') or
    71                                       eschema.has_local_role('read')):
    71                                       eschema.has_local_role('read')):
    72             continue
    72             continue
    73         etype = eschema.type
    73         etype = eschema.type
    74         label = display_name(req, etype, 'plural')
    74         label = display_name(req, etype, 'plural')
    75         view = self.vreg.select('views', 'list', req, req.etype_rset(etype))
    75         view = self.vreg.select('views', 'list', req, req.etype_rset(etype))