ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

Granting privileges to the product library workspace components in PostgreSQL using a script

Disponible con licencia de Production Mapping.

Read/Write privileges are already assigned to all the product library tables, except the PL_PERMISSION, which doesn't need them. This is done when the product library is defined or upgraded. If a product library XML was imported into a geodatabase, or distributed, you need to re-create the CKB_USERS role and assign permissions in the new product library geodatabase.

The PL_PERMISSION table only needs read privileges assigned to it.

In pgAdmin or psql grant permissions to the product library workspace tables using roles.

Nota:

La operación de copiar y pegar el ejemplo puede dar lugar a errores de sintaxis.

  1. Revoke permissions granted directly to pmeditor, pmviewer users.

    select 'REVOKE SELECT, INSERT, UPDATE, DELETE ON ' || tableowner || '.' || tablename || ' FROM prodlibuser;' AS sqltext from pg_tables where tableowner = 'prodlib';
    

  2. Grant permission to the roles.

    role ckb_users
    select 'GRANT SELECT, INSERT, UPDATE, DELETE ON ' || tableowner || '.' || tablename || ' TO ckb_users;' AS sqltext 
    from pg_tables 
    where tableowner = 'prodlib';
    REVOKE INSERT, UPDATE, DELETE ON PRODLIB.PL_PERMISSION FROM ckb_users;
    

  3. Grant roles to users.

    prodlibuser
    GRANT ckb_users TO prodlibuser;
    

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2021 Esri. | Privacidad | Legal