Re: Temporarily disable a role

Поиск
Список
Период
Сортировка
От Stéphane KANSCHINE
Тема Re: Temporarily disable a role
Дата
Msg-id 20180611091400.u7xxq7v2doerlntj@office.hexack.fr
обсуждение исходный текст
Ответ на Temporarily disable a role  (Yinjie Lin <exialin37@gmail.com>)
Список pgsql-admin
Le lun. 11 juin, vers 16:24, Yinjie Lin exprimait :

> Hello everyone.

Hey !

> I'm wondering if there is any way we could disable a role temporarily, and
> enable it later.

Maybe you should create a group, add your grants to this group and create
users into this group. Then, when you want to "disable", you just have
to remove this from the group:
https://www.postgresql.org/docs/10/static/sql-creategroup.html

Regards,
-- 
Stéphane KANSCHINE - https://www.hexack.fr./ - https://www.nuajik.io./
@ stephane@hexack.fr
  +33 6 64 31 72 52


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

Предыдущее
От: Yinjie Lin
Дата:
Сообщение: Re: Temporarily disable a role
Следующее
От: pavan95
Дата:
Сообщение: Re: PostgreSQL 'Corruption & Fragmentation' detection andresolution/fix