DHIS Connector Module - User Access Controlling

Thank you @akshika47

I have also updated the Configure DHIS Connection UI. There are 2 privileges related to Configure DHIS Connection UI.

  1. View Connection
  2. Manage Connection

This is how the UI will work after adding the module privileges.

  • Users with View Connection privilege can only see the URL and the username of the connection. Also a button to test the connection status will be added later as a new feature.

  • Users with the Manage Connection privilege or both privileges can edit the connection details and save them. (The user should have the Manage Global Properties privilege in order to save the connection details)

This is the pull request which I created.