Re: BUG #5545: permission denied on delete

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: BUG #5545: permission denied on delete
Дата
Msg-id AANLkTileJ3ybgapCd-3sU84QjG5Z1QGYyUekeY6DrOA3@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #5545: permission denied on delete  ("Niranjan Pandit" <smartnp81@gmail.com>)
Список pgsql-bugs
On Thu, Jul 8, 2010 at 8:49 AM, Niranjan Pandit <smartnp81@gmail.com> wrote:
> role A is member of role B, role B has delete privilege also the select
> privilege on the id field of the table. when logged in with role A and set
> role to B, the permission is still denied to delete a record, any ideas why
> is permission denied ?
>
> the set role is in a security invoker function before the delete statement.
> Could this be related in anyway ?

I tried it here and it worked for me.  Can you provide a
self-contained test case?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

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

Предыдущее
От: "Niranjan Pandit"
Дата:
Сообщение: BUG #5545: permission denied on delete
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5544: Bug while loading the csv file into the table