Re: ALTER DEFAULT PRIVILEGES FOR ROLE is broken

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ALTER DEFAULT PRIVILEGES FOR ROLE is broken
Дата
Msg-id 25086.1370624244@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ALTER DEFAULT PRIVILEGES FOR ROLE is broken  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: ALTER DEFAULT PRIVILEGES FOR ROLE is broken  (Stephen Frost <sfrost@snowman.net>)
Re: ALTER DEFAULT PRIVILEGES FOR ROLE is broken  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> Essentially the argument for allowing this without a permissions check
>> is "I'm not really doing anything to the schema, just preconfiguring the
>> rights that will be attached to a new object if I later (successfully)
>> create one in this schema".

> Makes sense to me; if we were going to do something, I'd say a warning
> would be better, but I'm alright with nothing too.

Hm.  Throwing a NOTICE saying "btw, this won't be of any value until the
user has CREATE rights in that schema" might be a reasonable compromise.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Cost limited statements RFC
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: ALTER DEFAULT PRIVILEGES FOR ROLE is broken