Re: Able to do ALTER DEFAULT PRIVILEGES from a user who is not the owner

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: Able to do ALTER DEFAULT PRIVILEGES from a user who is not the owner
Дата
Msg-id 87pns973jo.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Re: Able to do ALTER DEFAULT PRIVILEGES from a user who is not theowner  (rajan <vgmonnet@gmail.com>)
Ответы Re: Able to do ALTER DEFAULT PRIVILEGES from a user who is not theowner  (rajan <vgmonnet@gmail.com>)
Список pgsql-hackers
>>>>> "rajan" == rajan  <vgmonnet@gmail.com> writes:

 rajan> Andrew,

 rajan> Another question, If the user student is not the owner of the
 rajan> Schema(additional) and has only USAGE / no privileges, How come
 rajan> it is able to modify permissions at schema level?

Because it's not modifying anything that affects any other user. If
"student" can't create objects in schema "additional", then the default
has no effect (since it applies only to objects created by "student");
if those permissions are later granted, then the previously set default
still applies.

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: Synchronize with imath upstream
Следующее
От: David Rowley
Дата:
Сообщение: Re: pg_dump multi VALUES INSERT