Re: Permissions and PGSQL - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Permissions and PGSQL
Date
Msg-id 3FE864DF.70300@familyhealth.com.au
Whole thread Raw
In response to Permissions and PGSQL  ("Jean-Eric Cuendet" <jean-eric.cuendet@bluewin.ch>)
List pgsql-hackers
> I use PgSql for a lot of our company's need and I lack some features.
> I would like to know if there is plans to implement:
> - User permissions based on columns? (Ex: User1 has Select on Column "CompayName"
> but User2 has update on column "CompanyName" while User3 has create new row
> on table).

These do not exist yet in pgsql.

> - Permissions on create table. This is the most lacking permission problem
> actually, since everyone that can log in PgSql can create tables...

This does exist.  The CREATE permission on schemas is what you want. 
Perhaps the CREATE permission on databases as well.  You need to revoke 
these from the public schema.  Or even just drop the public schema.

Chris


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql-server/doc/src/sgml Tag: REL7_4_STABLE r ...
Next
From: Mark Feit
Date:
Subject: (Mis?)Behavior of \copy with -f and \i