From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Held <dave.held@arraysg.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Irrevocable privileges
Date: Tue, 10 May 2005 19:10:33 -0400
Message-ID: <27892.1115766633@sss.pgh.pa.us> (raw)
In-Reply-To: <49E94D0CFCD4DB43AFBA928DDD20C8F902618506@asg002.asg.local>
References: <49E94D0CFCD4DB43AFBA928DDD20C8F902618506@asg002.asg.local>
"Dave Held" <dave.held@arraysg.com> writes:
> I think it's silly that any privileges that an owner grants to himself =
> are essentially irrevocable.
Say again? An owner can certainly revoke his own ordinary privileges.
> Consider:
> User joe creates table foo
> User joe grants permission rw to himself on foo
> User joe decides that user bob should really be the owner of foo
> User joe revokes his permissions, alters foo to be owned by bob,=20
> and gives bob rw privilege
> User joe is annoyed to find out that his privileges are in a state of =
> limbo
Please define "state of limbo". Also note that if user joe is able to
do "ALTER OWNER" then he must be a superuser, and hence not subject to
access controls in the first place.
I do recall that we recently (probably in 8.0) fixed some issues with
what ALTER OWNER does with existing privileges. What version are you
testing?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, dave.held@arraysg.com
Subject: Re: Irrevocable privileges
In-Reply-To: <27892.1115766633@sss.pgh.pa.us>
References: <49E94D0CFCD4DB43AFBA928DDD20C8F902618506@asg002.asg.local> <27892.1115766633@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox