if (restrictions && restrictions.whitelist && restrictions.whitelist.shards) {
            mConf.shard.shardValues = _.intersection(restrictions.whitelist.shards, mConf.shard.shardValues);
        }