Skip to content

Configuring user profiles

José Tomás Navarro Carrión edited this page Jun 17, 2013 · 50 revisions

Working sessions in siguanet-desktop are tied to user profiles. The concept is introduced in the Generating remote settings files and the Application configuration pages. These are the points you should already be familiar with:

  • You should create one .srs file per profile, so that standard users don't have to manually connect to PostgreSQL.
  • You should deploy the corresponding .srs file through HTTP so that, upon application login, siguanet-desktop can build the PostgreSQL connection string according to the user's profile.
  • You should create one .sgd file per profile in order to define the set of functions which meets the needs of each user's profile.
  • You should deploy the corresponding .sgd file through HTTP so that, upon application login, siguanet-desktop can enable and load those tools that are suitable for the user's profile.

Here we'll focus on profile management and how to create and deploy profile definition documents, also named siguanet-desktop documents ( .sgd ).

Profile management

There are 5 predefined user profiles embedded in siguanet-desktop's object model, as seen in the ProfileType enumerated type:

Clone this wiki locally