Re: Making a schema "read-only" (was Unexpected message in grant/revoke script)

Поиск
Список
Период
Сортировка
От Webb Sprague
Тема Re: Making a schema "read-only" (was Unexpected message in grant/revoke script)
Дата
Msg-id b11ea23c0803141308qee254d4p69603a411691263a@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Making a schema "read-only" (was Unexpected message in grant/revoke script)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Making a schema "read-only" (was Unexpected message in grant/revoke script)
Список pgsql-general
On Fri, Mar 14, 2008 at 12:55 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Webb Sprague" <webb.sprague@gmail.com> writes:
>  > Also, I revoked what I thought was everything possible on the public
>  > schema, but a user is still able to create a table in that schema --
>  > could someone explain:
>
>  > oregon=# revoke create on schema public from foobar cascade;
>  > REVOKE
>
>  You've got a conceptual error here:

Not surprising...

<SNIP>

>  Start with
>         revoke all on schema public from public
>  and then grant only what you want.

I will give it a go, and thanks!

>
>                         regards, tom lane
>

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Making a schema "read-only" (was Unexpected message in grant/revoke script)
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: postgre vs MySQL