Re: Re[2]: postgres not use table access permissions ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re[2]: postgres not use table access permissions ?
Дата
Msg-id 8069.973283684@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re[2]: postgres not use table access permissions ?  (Partyka Robert <bobson@saturn.alpha.pl>)
Список pgsql-hackers
Partyka Robert <bobson@saturn.alpha.pl> writes:
> if I do 
> # grant UPDATE, INSERT, SELECT on a to user1;
> it was treat as:
> # grant UPDATE, INSERT, DELETE, SELECT on a to user1;

Yeah.  The underlying permission set is actually "read, write, append"
(where write access also allows append).  So UPDATE and DELETE are
treated the same, and allowing them also allows INSERT.  This is
something that probably oughta be changed some day.  That'll doubtless
break some user applications, though, since the true permission set is
user-visible (try psql's \z command for example).
        regards, tom lane


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

Предыдущее
От: Ian Lance Taylor
Дата:
Сообщение: Re: [HACKERS] 7.0.3 branded
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: Summary: what to do about INET/CIDR