570571572573574575576577578579580
if (resources.isEmpty()) { return false; } CellResourceImpl cur = resources.get(0); Access result = cur.getPermission(userPrincipals, action); if (result == Access.GRANT) { return true; } else if (result == Access.DENY) { return false; }