debian/cubicweb-ctl.dirs
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Nov 2016 18:15:14 +0100
changeset 11858 b2ceb483e056
parent 9208 7ae95f48e2f0
child 12647 cb596dca133f
child 12670 deabda5ebfc1
permissions -rw-r--r--
[views/optimization] Makes has_editable_relations predicate less costly by using generator The `has_editable_relations` predicate is used to say if the 'modify' action should appear. To do so, it checks if anything is editable (ie. something in the attributes, relations or inlined section of the automatic form). This may be costly since it may have to check several permissions. To optimize this a bit, this cset turns list into generator so that we'll avoid unnecessary work as soon as we find a match.

etc/init.d
etc/cubicweb.d
etc/bash_completion.d
usr/bin
usr/share/doc/cubicweb-ctl
var/log/cubicweb
var/lib/cubicweb/backup
var/lib/cubicweb/instances