branch | reldefsecurity |
changeset 3877 | 7ca53fc72a0a |
parent 3869 | ec6463886ac4 |
child 3890 | d7a270f50f54 |
--- a/server/hookhelper.py Wed Nov 18 09:16:38 2009 +0100 +++ b/server/hookhelper.py Thu Nov 19 12:55:47 2009 +0100 @@ -27,7 +27,7 @@ rschema = session.repo.schema[rtype] subjtype = session.describe(eidfrom)[0] objtype = session.describe(eidto)[0] - return rschema.rproperty(subjtype, objtype, rprop) + return getattr(rschema.rdef(subjtype, objtype), rprop) def check_internal_entity(session, eid, internal_names): """check that the entity's name is not in the internal_names list.