Re: Re: Re: grant privileges to a database [URGENT]

From: Dave Mertens <dave(at)redbull(dot)zyprexia(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: Re: grant privileges to a database [URGENT]
Date: 2001-02-01 20:39:42
Message-ID: 20010201203942.A2906@redbull.zyprexia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, Jan 31, 2001 at 07:18:12PM -0300, Martin A. Marques wrote:
> El Mié 31 Ene 2001 18:32, Dan Wilson escribió:
> > GRANT ALL ON table1, table2, table3, view1, view2, sequence1, sequence2 TO
> > user
> The problem is that this is not what I'm looking for. I want the user to be
> able to create new tables, views, sequences, etc on that database.

This is nbow what people call security. Normaly only the dba (database administrator)
is allowed to create tables. But everyone can create tables, views and
sequences. The objects are than only accessible to that user. The user who
created the table has also set the security on that object.

I large company where i work, developers arent allowed to create objects on
the database, this because developers make way to soon objects or change
current tables, so the whole application doesn't work anymore. We have an
user 'postgres'. Only 4 people (there are working 72 people here) have the
ssh-key to login as postgres on the database. User postgres is the owner of
all the objects in every database. User postgres give the proper security
settings for each remote user (normaly websites, applications, etc).

I now, i looks bad, but it's really a good thing

Dave Mertens
Unix System Administrator

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mikheev, Vadim 2001-02-01 20:55:02 RE: Is Oracle really so much faster
Previous Message Ian Lance Taylor 2001-02-01 20:38:57 Re: Cursors in SPI functions/procedures

Browse pgsql-hackers by date

  From Date Subject
Next Message Alfred Perlstein 2001-02-01 23:34:26 Index grows huge, possible leakage?
Previous Message Trewern, Ben 2001-02-01 19:11:33 More features for the common man!