Re: Insufficient privileges.

Поиск
Список
Период
Сортировка
От Rick Genter
Тема Re: Insufficient privileges.
Дата
Msg-id CADie1rwLNTWVhtqMKKP3VDjaTu9o0Vs00V_DBgE7cq1NeCD4Ug@mail.gmail.com
обсуждение исходный текст
Ответ на Insufficient privileges.  (Dave Coventry <dgcoventry@gmail.com>)
Ответы Re: Insufficient privileges.
Список pgsql-general


On Thu, Jul 7, 2011 at 10:03 AM, Dave Coventry <dgcoventry@gmail.com> wrote:
I am getting the following error message in my Drupal install.

PDOException: SQLSTATE[42501]: Insufficient privilege: 7 ERROR:
permission denied for sequence currenttest_id_seq: INSERT INTO
currentTest (score) VALUES (:db_insert_placeholder_0);

This is a table that I created using the postgres super user.

I have tried to grant the drupal user (drupaluser) privileges to the table with:

GRANT ALL ON currentTest to drupaluser;

but this fails to resolve the issue.

Can anyone suggest a way forward?

From the message I'd say that the drupal user doesn't have access to the sequence, which is a separate object from the table.

--
Rick Genter
rick.genter@gmail.com

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

Предыдущее
От: Dave Coventry
Дата:
Сообщение: Insufficient privileges.
Следующее
От: Dave Coventry
Дата:
Сообщение: Re: Insufficient privileges.