a30d921b5038ddcb677235dce6e070fe58efd448
2 ctool
= context
.portal_catalog
3 checkPerm
= context
.portal_membership
.checkPermission
5 for s
in ['pending'] : # other states can be added
6 res
.extend(ctool(review_state
=s
))
11 if checkPerm('Review portal content', ob
) :