mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-01 19:45:33 +08:00
doc: Add note about lack of publication privileges
This gives some additional advice on using row filters and column lists on publications securely. Author: Antonin Houska <ah@cybertec.at> Reviewed-by: Euler Taveira <euler@eulerto.com> Discussion: https://www.postgresql.org/message-id/flat/20330.1652105397@antos
This commit is contained in:
parent
2ea5de296e
commit
84387fc889
@ -1570,6 +1570,17 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
|
||||
schema automatically, the user must be a superuser.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
There are currently no privileges on publications. Any subscription (that
|
||||
is able to connect) can access any publication. Thus, if you intend to
|
||||
hide some information from particular subscribers, such as by using row
|
||||
filters or column lists, or by not adding the whole table to the
|
||||
publication, be aware that other publications in the same database could
|
||||
expose the same information. Publication privileges might be added to
|
||||
<productname>PostgreSQL</productname> in the future to allow for
|
||||
finer-grained access control.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To create a subscription, the user must be a superuser.
|
||||
</para>
|
||||
|
Loading…
Reference in New Issue
Block a user