'Reads the file user_preferences_extra_conf.yml to display
admin defined user informations'

def _get_extra_user_preferences(self, trans):

    path = trans.app.config.user_preferences_extra_config_file
    try:
        with open(path, 'r') as stream:
            config = yaml.load(stream)
    except:
        log.warn(('Config    file    (%s)    could    not    be    found    or    is    malformed.' % path))
        return {}
    return (config['preferences'] if config else {})
