Re: Granting Privleges on All Tables in One Comand? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Granting Privleges on All Tables in One Comand?
Date
Msg-id 200601120443.k0C4hHt07293@candle.pha.pa.us
Whole thread Raw
In response to Granting Privleges on All Tables in One Comand?  ("Adam" <adam@spatialsystems.org>)
Responses Re: Granting Privleges on All Tables in One Comand?
List pgsql-general
Adam wrote:
> Is it possible to 'GRANT SELECT ON ALL TABLES TO User' in 1 command ?
>
> I saw the question in 2003 and wonder if it's still true.

Still true, but on the TODO list:

        o %Allow GRANT/REVOKE permissions to be applied to all schema objects
          with one command

          The proposed syntax is:
                GRANT SELECT ON ALL TABLES IN public TO phpuser;
                GRANT SELECT ON NEW TABLES IN public TO phpuser;

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Assad Jarrahian
Date:
Subject: sql (Stored procedure) design question
Next
From: Tom Lane
Date:
Subject: Re: sql (Stored procedure) design question