equal
deleted
inserted
replaced
90 # check read permission here since it may not be done by |
90 # check read permission here since it may not be done by |
91 # the generated select substep if not emited (eg nothing |
91 # the generated select substep if not emited (eg nothing |
92 # to be selected) |
92 # to be selected) |
93 if checkread and eid not in neweids: |
93 if checkread and eid not in neweids: |
94 with cnx.security_enabled(read=False): |
94 with cnx.security_enabled(read=False): |
95 eschema(cnx.entity_metas(eid)['type']).check_perm( |
95 eschema(cnx.entity_type(eid)).check_perm( |
96 cnx, 'read', eid=eid) |
96 cnx, 'read', eid=eid) |
97 eidconsts[lhs.variable] = eid |
97 eidconsts[lhs.variable] = eid |
98 return eidconsts |
98 return eidconsts |
99 |
99 |
100 def _build_substep_query(select, origrqlst): |
100 def _build_substep_query(select, origrqlst): |