How we can work with several connections to different databases (Northwind - MS SQL and Employee - Firebird).
How we can implement security and access rights in our application.
Master-detail relations between tables is implemented via a service that provides a list of orders by user id.
Examine the code
Check how the server methods were implemented in OrdersService_Impl.pas and LoginService_Impl.pas.
See the code needed to invoke server methods in MegaDemoClient_Main.pas
Getting started
Compile the entire solution.
Run the server.
Run the client.
Login to client (for login, you just can select appropriate user in the Preconfigured login section)
Note: for login to appropriate database (NorthWind or Employee), you should select the correct connection in the server application (Selected Connection combo box)
Check user privileges. "Bank" page should only be accessible for managers.
Try to change data on the Customer Management page and post the changes or discard them.