Re: How to remove user specific grant and revoke

Поиск
Список
Период
Сортировка
Искать
От
Erik Wienhold
Тема
Re: How to remove user specific grant and revoke
Дата
Msg-id
666755787.808219.1685825876788@office.mailbox.org
Ответ на
Список
Дерево обсуждения
How to remove user specific grant and revoke Andrus <kobruleht2@hot.ee>
Re: How to remove user specific grant and revoke Erik Wienhold <ewie@ewie.name>
Re: How to remove user specific grant and revoke Erik Wienhold <ewie@ewie.name>
Re: How to remove user specific grant and revoke Andrus <kobruleht2@hot.ee>
Re: How to remove user specific grant and revoke Erik Wienhold <ewie@ewie.name>
> On 03/06/2023 22:33 CEST Andrus  wrote:
>
> I tried
> alter role alekspoluh reset all

This only resets role-specific settings, not privileges.

> After this command pgAdmin still shows revoke and grant commands for
> alekspoluh role.
> How to remove all grant and revoke assignments for role ?

Please confirm that \dp public.kaspriv no longer shows an ACL for alekspoluh
after running:

	REVOKE ALL ON public.kaspriv FROM alekspoluh;

There must be something wrong with pgAdmin if it still shows REVOKE ALL for
that role after its ACL is gone.  Looking at the code, pgAdmin emits REVOKE ALL
for any grantee it find in the ACL.

https://github.com/pgadmin-org/pgadmin4/blob/REL-7_2/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py#L712

--
Erik


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