changeset 10636 | a9e9daf77598 |
parent 10381 | ef9607fac387 |
child 10646 | 45671fb330f5 |
--- a/predicates.py Thu Oct 08 12:13:35 2015 +0200 +++ b/predicates.py Thu Oct 08 11:47:15 2015 +0200 @@ -1506,7 +1506,7 @@ score = self.score_class(req.vreg['etypes'].etype_class(etype), req) if score: eschema = req.vreg.schema.eschema(etype) - if eschema.has_local_role('add') or eschema.has_perm(req, 'add'): + if eschema.may_have_permission('add', req): return score return 0