Re: Curious (mis)behavior of access rights - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Curious (mis)behavior of access rights
Date
Msg-id 7630.991699106@sss.pgh.pa.us
Whole thread Raw
In response to Re: Curious (mis)behavior of access rights  ("Matthew T. O'Connor" <matthew@zeut.net>)
List pgsql-hackers
"Matthew T. O'Connor" <matthew@zeut.net> writes:
>> The only downside of this is that we'd lose the "feature" of being able
>> to revoke from a particular user a right that is available via PUBLIC to
>> everyone else.

> Could we add additional privlideges that explicitly restrict a user?
> Perhaps negative permissions like -x -r etc...  This would override group
> and public permissions and could be set via revoke.  What does the SQL Spec
> say the behaviour should be when group and user permissions are in conflict?

AFAICS the SQL spec's notion of REVOKE is the same as ours: it removes
a previously granted privilege bit.  There is no concept of negative
privilege, and I can't say that I want to add one ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Re: AW: Re: Support for %TYPE in CREATE FUNCTION
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Question about inheritance