Privileges for using ArcGIS with a PostgreSQL database
Privileges determine what a user is authorized to do with the data and the database. Assign privileges based on the type of work the person does in the organization.
As a PostgreSQL database administrator, you create group roles based on what users need to do in the database, grant privileges to the group roles, and add individual login roles to each group role. The table below lists the minimum required privileges for common types of database users for which you would create group roles: data viewers, data editors, and data creators.
These privileges apply to using ArcGIS with a PostgreSQL database and supported PostgreSQL database service offerings. If you need to know the privileges required to use a geodatabase, see Privileges for geodatabases in PostgreSQL.
The following table lists three groups of users and the minimum privileges they require to query, edit, or create data from ArcGIS:
|
Type of user |
Required privileges |
Purpose |
|---|---|---|
|
Data viewer |
|
This privilege allows you to connect to the database. The |
|
|
This privilege allows access to data in specific schemas. |
|
|
If the database uses the PostGIS geometry type for spatial data storage, roles require the |
These privileges are required to read PostGIS geometry columns. |
|
|
If the database uses the PostGIS geography type for spatial data storage, roles require the |
These privileges are required to read PostGIS geography columns. |
|
|
|
This allows viewers access to specific tables and feature classes in the schemas to which they have access. |
|
|
Data editor Data editors require the same privileges as data viewers, as well as these additional privileges. |
|
Grant the editing operations you want editors to perform on specific tables. You can grant any combination of |
|
Data creator Data creators require the same privileges as data viewers plus this additional setting for their schema. |
Each login role that creates data requires |
Use the |
Note:
To edit data, publish editable web feature layers that reference the data in your PostgreSQL database.