new warning message

Поиск
Список
Период
Сортировка
Искать

new warning message

От:
Jeff Davis <pgsql@j-davis.com>
Дата:
On IRC today someone brought up a problem in which users were still able
to connect to a database after a "REVOKE CONNECT ... FROM theuser". The
reason theuser is still able to connect is because PUBLIC still has
privileges to connect by default (AndrewSN was the one who answered
this).

Would it be reasonable to throw a warning if you revoke a privilege from
some role, and that role inherits the privilege from some other role (or
PUBLIC)?

Regards,Jeff Davis




Re: new warning message

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Jeff Davis  writes:
> Would it be reasonable to throw a warning if you revoke a privilege from
> some role, and that role inherits the privilege from some other role (or
> PUBLIC)?

This has been suggested and rejected before --- the consensus is it'd
be too noisy.

Possibly the REVOKE manual page could be modified to throw more stress
on the point.
		regards, tom lane

FAQ