Each role can only query documents in their department. Switch roles on the left to see how access changes in real time.