changeset 9469 | 032825bbacab |
parent 9456 | a79e88aad555 |
child 9508 | 1263f1258796 |
--- a/server/ssplanner.py Thu Jan 23 12:32:16 2014 +0100 +++ b/server/ssplanner.py Thu Jan 23 13:47:28 2014 +0100 @@ -90,7 +90,7 @@ # to be selected) if checkread and eid not in neweids: with session.security_enabled(read=False): - eschema(session.describe(eid)[0]).check_perm( + eschema(session.entity_metas(eid)['type']).check_perm( session, 'read', eid=eid) eidconsts[lhs.variable] = eid return eidconsts