Changes

Serverside Account Configuration

1,900 bytes added, 12:55, 27 July 2015
For a better user experience and less maintenance effort, the possibility to distribute settings for one or more users via a webservice directly to a client is necessary. Not only does this offer the opportunity to share settings efficiently, but also to minimize the possibility of missbehavior due to wrong settings.
IntroductionFurther does this mean that a user does have his environment, even when using a different device without the overhead of creating a fitting setting configuration and typing in all settings by hand.
== Configure the serverside account configuration on the client ==
urlThere is a default URL under which the app calls the webservice, but it can be freely configured with a file named "source.conf " under the location '''SD_CARD/UBIK/'''. It must be considered, that this file overrides the default URL for sure, which means that an empty file will be interpreted as empty URL. If the standard URL should be used, this fileshould be deleted!
== Account Restriction ==
 
The account restriction is defined for the whole account configuration.
Basically spoken, this flag within the received account configuration decides about whether the users can type in usernames freely or just choose between a list of usernames. Due to that, this feature is really scalable and is sufficient for use cases from defining every user and force them to use specific settings to just provide PreSets for an open range of users.
=== Accounts restricted ===
 
If the account restriction is "restricted", the login dialog provides a dropdown selection which contains all available usernames, delivered through the account configuration. There is no possibility to enter a different username.
=== Accounts not restricted ===
In that case, the login dialog looks like if no account configuration was received at all. The only difference is for users who´s settings are restricted. Once such a user enters his username, the UI behave like described in section [Restricted Restricted]. == Setting Restriction Level == The setting restriction level is a flag within every account within the account configuration.
=== Restricted ===
166
edits