Skip to content

Commit 04acad8

Browse files
committed
Doc: you must own the target object to use SECURITY LABEL.
For some reason this wasn't mentioned before. Author: Patrick Stählin <me@packi.ch> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/931e012a-57ba-41ba-9b88-24323a46dec5@packi.ch Backpatch-through: 13
1 parent cc733ed commit 04acad8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/src/sgml/ref/security_label.sgml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ SECURITY LABEL [ FOR <replaceable class="parameter">provider</replaceable> ] ON
8484
based on object labels, rather than traditional discretionary access control
8585
(DAC) concepts such as users and groups.
8686
</para>
87+
88+
<para>
89+
You must own the database object to use <command>SECURITY LABEL</command>.
90+
</para>
8791
</refsect1>
8892

8993
<refsect1>

0 commit comments

Comments
 (0)