Robert Haas napsal(a):
On Mon, Sep 28, 2009 at 11:47 PM, Stephen Frost <sfr...@snowman.net> wrote:
* Robert Haas (robertmh...@gmail.com) wrote:
One potential trouble spot is that presumably the built-in default
privileges (eg, PUBLIC EXECUTE for functions) would *not* cumulate
with user-specified defaults.
Why not?
How would you have a default that says "I *don't* want public execute on
my new functions"?
Hmm...
Maybe instead of having built-in default privileges, we could view
each user as having their global default ACL pre-initialized to that
same set of privileges (of course we needn't store it unless and until
they modify it). Then they could add to those or take away from them,
plus add additional privileges at other levels.
That's how it works now actually, the problem is that when you grant
something in the chain you can't revoke it anywhere else in the chain
when you are merging privileges as you proposed.
--
Regards
Petr Jelinek (PJMODOS)