How to trace GUI actions in the backend
What actually happens in the Zetaris backend when certain GUI elements are clicked?
For this example, we will invoke the action of resetting a user password using the GUI and trace what backend commands are executed.
To start, invoke the User Management view of the Administrator console. Then right-click anywhere and choose the inspect option.
The JavaScript window opens. From the JS menu, choose the Network option (which will probably be hidden behind the >> if your screen is not wide enough.
Now click the settings icon next to the user whose password you would like to reset and go about things like one normally would (obey the password validation rules, etc.)
Best to clear the buffers prior to executing, as shown above.
Once done, click the query checkbox in the JS window and it will expose the payload sent to the backend engine. as you can see below.
You can use this technique to trace any GUI action to the corresponding CLI / SQL action.