mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Refactor documentation about privileges to centralize the info.
Expand section 5.6 "Privileges" to include the full definition of each privilege type, and an explanation of aclitem privilege displays, along with some helpful summary tables. Most of this material came out of the GRANT reference page, although some of it is new. Adjust a bunch of links that were pointing to GRANT to point to 5.6. Fabien Coelho and Tom Lane, reviewed by Bradley DeJong Discussion: https://postgr.es/m/alpine.DEB.2.21.1807311735200.20743@lancre
This commit is contained in:
@@ -112,7 +112,7 @@ REVOKE [ GRANT OPTION FOR ]
|
||||
</para>
|
||||
|
||||
<para>
|
||||
As explained under <xref linkend="sql-grant"/>,
|
||||
As explained in <xref linkend="ddl-priv"/>,
|
||||
the default privileges for any object type normally grant all grantable
|
||||
permissions to the object owner, and may grant some privileges to
|
||||
<literal>PUBLIC</literal> as well. However, this behavior can be changed by
|
||||
@@ -173,9 +173,8 @@ REVOKE [ GRANT OPTION FOR ]
|
||||
<para>
|
||||
Use <xref linkend="app-psql"/>'s <command>\ddp</command> command
|
||||
to obtain information about existing assignments of default privileges.
|
||||
The meaning of the privilege values is the same as explained for
|
||||
<command>\dp</command> under
|
||||
<xref linkend="sql-grant"/>.
|
||||
The meaning of the privilege display is the same as explained for
|
||||
<command>\dp</command> in <xref linkend="ddl-priv"/>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Reference in New Issue
Block a user