pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrus <kobruleht2@hot.ee>
To: Erik Wienhold <ewie@ewie.name>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: How to remove user specific grant and revoke
Date: Sat, 3 Jun 2023 23:33:22 +0300
Message-ID: <c8a918fa-3f8a-0ddd-12a9-85d8b24f3e22@hot.ee> (raw)
In-Reply-To: <b35dbd8f-9896-9708-08a8-5a1747c0ece3@hot.ee>
References: <568e6761-d224-7c72-59f3-267b39bde227@hot.ee>
	<2140448238.796716.1685796376553@office.mailbox.org>
	<1408288797.797459.1685797672449@office.mailbox.org>
	<c832dd7d-743e-f77f-e07b-8fbccfb059f4@hot.ee>
	<371357275.803438.1685810290820@office.mailbox.org>
	<cc2dc8b5-ba7d-7652-31f1-4038f778244f@hot.ee>
	<872810576.804014.1685813147131@office.mailbox.org>
	<b35dbd8f-9896-9708-08a8-5a1747c0ece3@hot.ee>

Hi!

I tried

alter role  alekspoluh reset all

After this command pgAdmin still shows revoke and grant commands for 
alekspoluh  role.

How to remove all grant and revoke assignments for role ?


Andrus.

03.06.2023 20:50 Andrus kirjutas:
>
> Hi!
>
> > REVOKE must be executed by the grantor (sba_owner) or a superuser in 
> case you
>> not already tried that.
> REVOKE was executed by superuser, postgres. PgAdmin uses this user to 
> log on.
>> Do you get any errors?
>
> There are no errors.
>
> Andrus.
>
>

view thread (12+ messages)  latest in thread

Message-ID: <c8a918fa-3f8a-0ddd-12a9-85d8b24f3e22@hot.ee>
Permalink:  ../c8a918fa-3f8a-0ddd-12a9-85d8b24f3e22@hot.ee/
Also on:    postgresql.org/message-id/c8a918fa-3f8a-0ddd-12a9-85d8b24f3e22@hot.ee

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: kobruleht2@hot.ee, ewie@ewie.name
  Subject: Re: How to remove user specific grant and revoke
  In-Reply-To: <c8a918fa-3f8a-0ddd-12a9-85d8b24f3e22@hot.ee>
  References: <568e6761-d224-7c72-59f3-267b39bde227@hot.ee> <2140448238.796716.1685796376553@office.mailbox.org> <1408288797.797459.1685797672449@office.mailbox.org> <c832dd7d-743e-f77f-e07b-8fbccfb059f4@hot.ee> <371357275.803438.1685810290820@office.mailbox.org> <cc2dc8b5-ba7d-7652-31f1-4038f778244f@hot.ee> <872810576.804014.1685813147131@office.mailbox.org> <b35dbd8f-9896-9708-08a8-5a1747c0ece3@hot.ee> <c8a918fa-3f8a-0ddd-12a9-85d8b24f3e22@hot.ee>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox