Re: Permission Read Only User

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Permission Read Only User
Дата
Msg-id ddb43eb9-a4a3-f2a1-0879-876387a9d7f3@aklaver.com
обсуждение исходный текст
Ответ на Permission Read Only User  (Sathish Kumar <satcse88@gmail.com>)
Ответы Re: Permission Read Only User
Список pgsql-general
On 3/15/19 4:37 PM, Sathish Kumar wrote:
> Hi All,
> 
> I have created a read only user to perform select statements on our 
> database but whenever we create new tables on the database this user is 
> unable to view it unless I grant select again for this table. Is there a 
> way I can make select as default permission for this user so that in 
> future if I create any new tables, it will be still accessible.

Maybe this?:

https://www.postgresql.org/docs/11/sql-alterdefaultprivileges.html


-- 
Adrian Klaver
adrian.klaver@aklaver.com


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Conditional INSERT
Следующее
От: Ken Tanzer
Дата:
Сообщение: Re: Conditional INSERT