Skip site navigation (1) Skip section navigation (2)

Re: Bug #549: select table privilege in postgres allows user to create index on the table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mshamsi(at)dinmar(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug #549: select table privilege in postgres allows user to create index on the table
Date: 2002-01-03 16:54:21
Message-ID: 13279.1010076861@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
pgsql-bugs(at)postgresql(dot)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.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2002-01-03 17:08:34
Subject: Re: LWLock contention: I think I understand the problem
Previous:From: pgsql-bugsDate: 2002-01-03 16:12:05
Subject: Bug #549: select table privilege in postgres allows user to create index on the table

pgsql-bugs by date

Next:From: Tom LaneDate: 2002-01-03 17:22:26
Subject: Re: Refcursor problem
Previous:From: pgsql-bugsDate: 2002-01-03 16:12:17
Subject: Bug #549: select table privilege in postgres allows user to create index on the table

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group