mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Update for all priviledge items.
This commit is contained in:
parent
07d5117a76
commit
dc199c1cd7
@ -142,15 +142,17 @@ ALTER GROUP <replaceable>name</replaceable> DROP USER <replaceable>uname1</repla
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Currently, there are five different privileges: select (read),
|
There are several different privileges: <literal>SELECT</literal>
|
||||||
insert (append), update (write), delete, and
|
(read), <literal>INSERT</literal> (append), <literal>UPDATE</literal>
|
||||||
<literal>RULE</literal>, the permission to create a rewrite rule on
|
(write), <literal>DELETE</literal>, <literal>RULE</literal>,
|
||||||
a table. The right to modify or destroy an object is always the
|
<literal>REFERENCES</literal> (foreign key), and
|
||||||
privilege of the owner only. To assign privileges, the
|
<literal>TRIGGER</literal>. (See the <command>GRANT</command> manual
|
||||||
<command>GRANT</command> command is used. So, if
|
page for more detailed information.) The right to modify or destroy
|
||||||
|
an object is always the privilege of the owner only. To assign
|
||||||
|
privileges, the <command>GRANT</command> command is used. So, if
|
||||||
<literal>joe</literal> is an existing user, and
|
<literal>joe</literal> is an existing user, and
|
||||||
<literal>accounts</literal> is an existing table, write access can
|
<literal>accounts</literal> is an existing table, write access can be
|
||||||
be granted with
|
granted with
|
||||||
<programlisting>
|
<programlisting>
|
||||||
GRANT UPDATE ON accounts TO joe;
|
GRANT UPDATE ON accounts TO joe;
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user