private void checkAccess ( List < Operation > operations , QueryContext queryContext ) { for ( Operation operation : operations ) { checkAccess ( operation , queryContext ) ; } }
This is not strictly necessary but allows to catch security issues early before accessing the individual repositories