public inbox for [email protected]  
help / color / mirror / Atom feed
From: Kashif Zeeshan <[email protected]>
To: somnath som <[email protected]>
Cc: Pgsql-admin <[email protected]>
Subject: Re: User Privileges Issue
Date: Fri, 30 Aug 2024 16:43:36 +0500
Message-ID: <CAAPsdheM_hGwXqZxfUh8Bid5f_MAAr6dqU6SL1qEGunfx4ihhg@mail.gmail.com> (raw)
In-Reply-To: <CABGa5dGsbneuEz6sVtSMSaWK3Mt1hRYiBWLVeb1DYikXSS313A@mail.gmail.com>
References: <CABGa5dGsbneuEz6sVtSMSaWK3Mt1hRYiBWLVeb1DYikXSS313A@mail.gmail.com>

Hi Somnath

Use the system catalog tables to get the information you need, for a
reference please check the below link.

https://stackoverflow.com/questions/40759177/postgresql-show-all-the-privileges-for-a-concrete-user

Thanks
Kashif Zeehsan

On Fri, Aug 30, 2024 at 4:38 PM somnath som <[email protected]> wrote:

> We have one user like “Test_User”, Can I check what all previliges are
> there for “Test_User”.
>
> When running \du+ command then only can see for superuser, others user are
> not showing.
>
> Please provide me command to check what all previliges are there for a
> user.
>


view thread (5+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: User Privileges Issue
  In-Reply-To: <CAAPsdheM_hGwXqZxfUh8Bid5f_MAAr6dqU6SL1qEGunfx4ihhg@mail.gmail.com>

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

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