changeset 10651 | 9ca33768473c |
parent 10613 | 8d9fe02387e3 |
parent 10646 | 45671fb330f5 |
child 10826 | dff28956f37e |
--- a/predicates.py Mon Sep 14 11:15:47 2015 +0200 +++ b/predicates.py Mon Oct 12 10:53:35 2015 +0200 @@ -1372,7 +1372,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