Cubicle is a small area for private use. But here (as far as I understand you are speaking about the book) it means that somebody is watching his bosses from the cubicle, so from his small office room. A person (the author of the book) is watching what is going on in the office from his working area.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.