diff -r 39b7a91a3f4c -r 032825bbacab server/ssplanner.py --- 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