HAL-64: Realm processing in role assignments