Re: [PATCHES] Users/Groups -> Roles - Mailing list pgsql-hackers

From Bruno Wolff III
Subject Re: [PATCHES] Users/Groups -> Roles
Date
Msg-id 20050628200142.GA13790@wolff.to
Whole thread Raw
In response to Re: [PATCHES] Users/Groups -> Roles  (Bruno Wolff III <bruno@wolff.to>)
Responses Re: [PATCHES] Users/Groups -> Roles
List pgsql-hackers
On Tue, Jun 28, 2005 at 14:52:07 -0500, Bruno Wolff III <bruno@wolff.to> wrote:
> On Tue, Jun 28, 2005 at 14:45:06 -0400,
>   Stephen Frost <sfrost@snowman.net> wrote:
> > 
> > If you are the owner of the object to be changed (following the normal
> > owner checking rules) AND would still be considered the owner of the
> > object *after* the change, then you can change the ownership.  
> 
> That still isn't a good idea, because the new owner may not have had
> access to create the object you just gave to them. Or you may not have
> had access to drop the object you just gave away. That is going to
> be a security hole.

Thinking about it some more, drops wouldn't be an issue since the owner
can always drop objects.

Creating objects in particular schemas or databases is not something that
all roles may be able to do.


pgsql-hackers by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: [PATCHES] Users/Groups -> Roles
Next
From: Stephen Frost
Date:
Subject: Re: [PATCHES] Users/Groups -> Roles