pgsql-server/ oc/src/sgml/ref/grant.sgml oc/sr ...

Lists: pgsql-committers
From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/ oc/src/sgml/ref/grant.sgml oc/sr ...
Date: 2003-10-31 20:00:49
Message-ID: 20031031200049.350A3D1C9EE@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)org 03/10/31 16:00:49

Modified files:
doc/src/sgml/ref: grant.sgml revoke.sgml
src/backend/catalog: aclchk.c

Log message:
When a superuser does GRANT or REVOKE on an object he doesn't own,
process the command as though it were issued by the object owner.
This prevents creating weird scenarios in which the same privileges
may appear to flow from different sources, and ensures that a superuser
can in fact revoke all privileges if he wants to. In particular this
means that the regression tests work when run by a superuser other than
the original bootstrap userid. Per report from Larry Rosenman.