From 80a655749ffbce4ec6328541e194e08d60b34639 Mon Sep 17 00:00:00 2001 From: Slobodan Vrkacevic Date: Wed, 4 May 2016 14:31:00 +0200 Subject: Make usage of authorization fallback optional Asking users to use the authorization fallback in case of authorization errors might be a bit problematic in some cases. If the users are not familiar with the concept, running: " --startserver PRODUCTION,{GUID},{GUID}" from command line might be confusing or difficult. Also it might not help at all. So let's make this optional. If the config variable DisableAuthorizationFallback is set to true the installer will not ask users to run the authorization fallback but instead it will abort the installation immediately. In RemoteClient this is implemented by adding a new function called setAuthorizationFallbackDisabled. The init function could be also extend for this but the config settings are not loaded at the time when the function is called. Change-Id: I4baf1dea34c5cc0016e98df47a9492ee1418c5ee Reviewed-by: Katja Marttila Reviewed-by: Leena Miettinen --- doc/installerfw.qdoc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/installerfw.qdoc b/doc/installerfw.qdoc index 196fbab10..7a667f912 100644 --- a/doc/installerfw.qdoc +++ b/doc/installerfw.qdoc @@ -281,6 +281,10 @@ \li AllowNonAsciiCharacters \li Set to \c true if the installation path can contain non-ASCII characters. + \row + \li DisableAuthorizationFallback + \li Set to \c true if the installation should not ask users to run the authorization + fallback in case of authorization errors. Instead abort the installation immediately. \row \li RepositorySettingsPageVisible \li Set to \c false to hide the repository settings page inside the settings dialog. -- cgit v1.2.3