Authorization - DatasmithSA/NTrack-Android-Help GitHub Wiki

This screen is presented to the operator if they don't have access to a certain feature. In such a case an operator with a Supervisor role is required to enter their credentials in order for the application to continue to the required step e.g. accessing the application settings.

This screen essentially functions the same as the Operator Login screen. The operator with Supervisor role must enter their Operator Identifier and Password and then click the Authorize button. At this point a call to the server is made to validate the credentials and ensure the provided that provided Operator Identifier is that of an Operator with a Supervisor role.

If successful, this screen will close and continue to the next screen which was initially required to be opened. An appropriate error message is shown if the if the operation was not successful e.g. if an invalid Operator Identifier and/or Password were entered or if the operator provided does not have the Supervisor role assigned which is required to authorize the operation.