Security and roles
==================

EDB Postgres Distributed allows a PGD cluster to be administered without
giving access to the stored data by design. It achieves this through the
use of roles and controlled access to system objects.

- :ref:`Security and roles <Security and roles>`  introduces the roles that PGD predefines for controlling
  access to PGD functionality.

- :ref:`Role management <Role management>`  discusses how roles are managed on multi-database nodes
  and new nodes.

- :ref:`PGD predefined roles <PGD predefined roles>`  details the specific privileges of the PGD roles.

- :ref:`Roles and replication <Roles and replication>`  explains how PGD replication interacts with roles and
  privileges.

- :ref:`Access control <Access control>`  explains how tables, functions, catalog objects and
  triggers interact with PGD roles and Postgres attributes.

.. toctree::
  :maxdepth: 3

  DEEP_DIVE--advanced-functionality--security--roles
  DEEP_DIVE--advanced-functionality--security--role-management
  DEEP_DIVE--advanced-functionality--security--pgd-predefined-roles
  DEEP_DIVE--advanced-functionality--security--roles-and-replication
  DEEP_DIVE--advanced-functionality--security--access-control
