Re: [BUGS] Bug #549: select table privilege in postgres allows

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [BUGS] Bug #549: select table privilege in postgres allows
Дата
Msg-id 200201031730.g03HUPT17200@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] Bug #549: select table privilege in postgres allows user to create index on the table  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUGS] Bug #549: select table privilege in postgres allows user to create index on the table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> pgsql-bugs@postgresql.org writes:
> > select table privilege  in postgres allows user to create index on the table
> 
> Actually, it appears that CREATE INDEX has no permission check at all.
> 
> I agree this is a bug.  Probably CREATE INDEX should require ownership
> permission, the same as ALTER TABLE.

Added to TODO:
* Allow only owner to create indexes

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: LWLock contention: I think I understand the problem
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PGSQL - FAQ 4.1