s/get_settings_by_role/config_by_role/

Here and throughout....