Re: [PATCH] DefaultACLs

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [PATCH] DefaultACLs
Дата
Msg-id 20091006142639.GF5929@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [PATCH] DefaultACLs  (Petr Jelinek <pjmodos@pjmodos.net>)
Список pgsql-hackers
Petr Jelinek escribió:
> Petr Jelinek napsal(a):
> >Tom Lane napsal(a):
> >>Petr Jelinek <pjmodos@pjmodos.net> <mailto:pjmodos@pjmodos.net> writes:
> >>>Tom Lane napsal(a):
> >>>>One thing that seems like it's likely to be an annoyance in practice
> >>>>is the need to explicitly do DROP OWNED BY to get rid of pg_default_acl
> >>>>entries for a role to be dropped.
> >>>Yeah I am not happy about this either but there is not much we
> >>>can do about it. Btw I think in the version I sent in REASSIGN
> >>>OWNED acted as DROP OWNED for default ACLs.
> >>IIRC it just threw a warning, which didn't seem tremendously useful to
> >>me.
> >
> >Oh did it ? Then I must have discarded that idea for some reason.
> >I probably didn't want to be too pushy there.
> 
> Now I remember why - consistency with ACLs on object. REASSIGN OWNED
> does not drop any GRANTed ACLs on any object, so it seemed
> appropriate to only drop default ACLs in DROP OWNED BY along with
> ACLs on objects.

That seems reasonable to me too ...

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Patch: create or replace language
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: moving system catalogs to another tablespace