equal
deleted
inserted
replaced
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)) |