Re: [PATCHES] Users/Groups -> Roles

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: [PATCHES] Users/Groups -> Roles
Дата
Msg-id 20050628203754.GQ24207@ns.snowman.net
обсуждение исходный текст
Ответ на Re: [PATCHES] Users/Groups -> Roles  (Bruno Wolff III <bruno@wolff.to>)
Ответы Re: [PATCHES] Users/Groups -> Roles  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [PATCHES] Users/Groups -> Roles  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
* Bruno Wolff III (bruno@wolff.to) wrote:
> Thinking about it some more, drops wouldn't be an issue since the owner
> can always drop objects.

Right.

> Creating objects in particular schemas or databases is not something that
> all roles may be able to do.

Yeah, I'm not entirely sure what I think about this issue.  If you're
not allowed to change ownership of objects and SET ROLE drops your
regular ROLE's privileges then the role which owns the object originally
(and which you're required to be in) must have had create access to that
schema at some point.

I can see requiring the role that's changing the ownership to have
create access to the schema in which the object that's being changed is
in.
Thanks,
    Stephen

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCHES] Proposed TODO: --encoding option for pg_dump
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [PATCHES] Proposed TODO: --encoding option for pg_dump