Re: 101 Grants and Access Right Table/View

From: rams nalabolu <ramsveeru441(at)gmail(dot)com>
To: "Wong, Kam Fook (TR Technology)" <kamfook(dot)wong(at)thomsonreuters(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: 101 Grants and Access Right Table/View
Date: 2024-10-17 18:40:34
Message-ID: CAHq7gtCCe3i4=SMbpqUC2WRzVVkBo4kGKvrj0E8Fnk28v4Ko-w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Who is the grantor? And the objects owner?
Only the objects owner can grant the privileges

On Thu, Oct 17, 2024 at 1:38 PM Wong, Kam Fook (TR Technology) <
kamfook(dot)wong(at)thomsonreuters(dot)com> wrote:

> I have a simple question for “access rights” view or table within
> Postgres.
>
> Here is my grant query:
>
> GRANT USAGE ON SCHEMA abc TO abc_user;
>
> GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA abc TO
> abc_user;
>
> GRANT ALL ON ALL SEQUENCES IN SCHEMA abc TO abc_user;
>
> GRANT EXECUTE ON ALL ROUTINES IN SCHEMA abc TO abc_user;
>
> But I can’t find a view/table that is associated with the above grants?
> The view/table below doesn’t shown the above granted rights.
>
>
>
> select * from information_schema.role_table_grants;
>
> select * from information_schema.usage_privileges
>
>
> Thank you
>
> Kam Fook Wong
> This e-mail is for the sole use of the intended recipient and contains
> information that may be privileged and/or confidential. If you are not an
> intended recipient, please notify the sender by return e-mail and delete
> this e-mail and any attachments. Certain required legal entity disclosures
> can be accessed on our website:
> https://www.thomsonreuters.com/en/resources/disclosures.html
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2024-10-17 19:48:39 Re: 101 Grants and Access Right Table/View
Previous Message Wong, Kam Fook (TR Technology) 2024-10-17 18:38:07 101 Grants and Access Right Table/View