Profiles assigned to users have a higher priority than profiles assigned to devices. In the case of the master profiles, the relevant group rather than the individual client or user is prioritized. This means:
Rule: Master profiles assigned to user groups have a higher priority than those assigned to individual users. These have higher priority than master profiles assigned to device directories. Master profiles assigned to an individual client have the lowest priority.
further away from the user/device
closer to the user/device