Re: connect permission based on database name

Поиск
Список
Период
Сортировка
От Rob Sargent
Тема Re: connect permission based on database name
Дата
Msg-id 574d44d9-1900-75e3-7c01-e93c5a92ea0c@gmail.com
обсуждение исходный текст
Ответ на Re: connect permission based on database name  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 5/25/22 08:20, Tom Lane wrote:
Rob Sargent <robjsargent@gmail.com> writes:
Just wondering if I've bumped into some security issue.
I'm somewhat surprised that "grant connect to database <dbname>  to 
<role>" appears to be stored "by name"?
I think you are forgetting that databases have a default GRANT CONNECT
TO PUBLIC.  You need to revoke that before other grants/revokes will
have any functional effect.
			regards, tom lane
Yes, of course.  Thanks

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: connect permission based on database name
Следующее
От: Carsten Klein
Дата:
Сообщение: Connect to specific cluster on command line