Skip to content

Sys admin#

Deploying within an organization#

When QGIS is deployed within an organization, the system administrator can hide administration Processing tools from normal users and also set the default path where PgMetadata is installed.

Example of a QGIS3.ini file which activates the plugin automatically and set 3 connections where PgMetadata is installed :

1
2
3
4
5
6
7
[pgmetadata]
auto_open_dock=true
end_user_only=true
connection_names=Connection 1!!::!!Connection 2!!::!!Connection 3

[Plugins]
pg_metadata=true

The string !!::!! is used to split different connection names.

  • end_user_only is designed to hide Processing algorithms which are designed for PgMetadata administrator.
  • connection_names is a list of connections separated by ; so PgMetadata knows where to look for metadata.

The last section Plugins showed above is to automatically load the plugin if the plugin folder is installed by a deployment tool.