Re: How to prevent users from creating tables

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: How to prevent users from creating tables
Дата
Msg-id 49895663.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Re: How to prevent users from creating tables  (raf <raf@raf.org>)
Ответы Re: How to prevent users from creating tables
Список pgsql-admin
>>> raf <raf@raf.org> wrote:
>   revoke all privileges on schema public from public;
>   revoke all privileges on schema public from staff; -- staff is a
role
>
> then i get two warnings:
>
>   WARNING:  no privileges could be revoked for "public"
>   WARNING:  no privileges could be revoked for "public"
>
> and a member of the staff role can still create tables.
> if i replace "all privileges" with just "create", i
> get the same warnings and still no effect.

Are you logged in as a database superuser?

(Database owner is not good enough for this operation.)

-Kevin

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

Предыдущее
От: raf
Дата:
Сообщение: Re: How to prevent users from creating tables
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: autovacuum question