branch | stable |
changeset 3961 | d1cbf77db999 |
parent 3955 | 235a9fda6058 |
child 3998 | 94cc7cad3d2d |
child 4212 | ab6573088b4a |
--- a/entity.py Wed Dec 02 11:04:40 2009 +0100 +++ b/entity.py Wed Dec 02 11:53:25 2009 +0100 @@ -769,6 +769,7 @@ insertsecurity = (rtype.has_local_role('add') and not rtype.has_perm(self.req, 'add', **securitycheck_args)) constraints = rtype.rproperty(subjtype, objtype, 'constraints') + # XXX consider constraint.mainvars to check if constraint apply if vocabconstraints: # RQLConstraint is a subclass for RQLVocabularyConstraint, so they # will be included as well