pgsql: Fix the problem of GRANTs creating "dangling" privileges not

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix the problem of GRANTs creating "dangling" privileges not
Date: 2005-10-10 18:49:04
Message-ID: 20051010184904.B2BD7D93BF@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix the problem of GRANTs creating "dangling" privileges not directly
traceable to grant options. As per my earlier proposal, a GRANT made by
a role member has to be recorded as being granted by the role that actually
holds the grant option, and not the member.

Modified Files:
--------------
pgsql/src/backend/catalog:
aclchk.c (r1.118 -> r1.119)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/aclchk.c.diff?r1=1.118&r2=1.119)
pgsql/src/backend/utils/adt:
acl.c (r1.124 -> r1.125)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/acl.c.diff?r1=1.124&r2=1.125)
pgsql/src/include/utils:
acl.h (r1.83 -> r1.84)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/acl.h.diff?r1=1.83&r2=1.84)

Browse pgsql-committers by date

  From Date Subject
Next Message User Aglio 2005-10-10 18:55:13 press - pr: Some character corrections per Greg.
Previous Message User Aglio 2005-10-10 18:25:15 press - pr: Some minor cleanup on the presskit