Group inheritance and departments

Hi,

In our 8.1.3 scenario, an employee has a primary department but can be delegated in other departments. Every employee has an AD account. Is there an oob way I could control group inheritance so that only the groups from the primary department apply ,but block inheritance of the groups from the affiliated ones? These latter departments, in turn, can be primary ones for other persons so I shouldnt block inheritance at all for their resident employees.

Thanks!