Re: 101 Grants and Access Right Table/View - Mailing list pgsql-admin

From Tom Lane
Subject Re: 101 Grants and Access Right Table/View
Date
Msg-id 704895.1729194519@sss.pgh.pa.us
Whole thread Raw
In response to 101 Grants and Access Right Table/View  ("Wong, Kam Fook (TR Technology)" <kamfook.wong@thomsonreuters.com>)
Responses RE: [EXT] Re: 101 Grants and Access Right Table/View
List pgsql-admin
"Wong, Kam Fook (TR Technology)" <kamfook.wong@thomsonreuters.com> writes:
> 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?

Those commands would simply apply the grants to any existing objects
in the given schema, so you'd have to look at such objects to see
the effects.  If there are none, nothing happens.

You might be looking for ALTER DEFAULT PRIVILEGES?

            regards, tom lane



pgsql-admin by date:

Previous
From: rams nalabolu
Date:
Subject: Re: 101 Grants and Access Right Table/View
Next
From: "Wong, Kam Fook (TR Technology)"
Date:
Subject: RE: [EXT] Re: 101 Grants and Access Right Table/View