> On 03/06/2023 22:33 CEST Andrus <kobruleht2@hot.ee> 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