Re: BUG #6264: Superuser does not have inherent Replication permission

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6264: Superuser does not have inherent Replication permission
Дата
Msg-id 2308.1319739533@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #6264: Superuser does not have inherent Replication permission  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-bugs
Robert Haas <robertmhaas@gmail.com> writes:
> ...  If we do decide to change the
> behavior, we'd better carefully document that if you want to make
> someone a superuser without giving them replication privileges (or
> revoke their superuser status without revoking replication
> privileges), you need to specify both ALTER TABLE options.

You'd also have to be careful about processing-order dependencies;
consider
    ALTER USER joe NOREPLICATION SUPERUSER;
which would do the wrong thing with a naive implementation.

> All in all I'm somewhat inclined to think we should just patch the
> docs.  9.1 hasn't been out for very long, so maybe expectations aren't
> too settled yet, but changing security-critical behavior in back
> branches doesn't seem like a wonderful idea; and I think I mildly
> prefer the current semantics to the proposed ones.

+1

            regards, tom lane

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: BUG #6264: Superuser does not have inherent Replication permission
Следующее
От: Gavin Flower
Дата:
Сообщение: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"