final SecuredGraphImpl sg = (SecuredGraphImpl) g;
final SecurityEvaluator evaluator = CachedSecurityEvaluator
.getInstance(sg.getSecurityEvaluator(), runAs);
if (evaluator.evaluateAny(perms, sg.getModelNode()))
{
if (!evaluator.evaluateAny(perms, sg.getModelNode(),
SecuredItemImpl.convert(Triple.ANY)))
{
final List<Triple> list = wrapPermIterator(sg,
Arrays.asList(triples).iterator(), perms)
.toList();