Re: [GENERAL] Deny creation of tables for a user

2008-04-28 Thread Pascal Cohen
Albe Laurenz wrote: Pascal Cohen wrote: I am playing with security in Postgres And I would like to have a database that can be managed by a given user that could do almost anything but I would also have a user that can just handle what is created. I mean she could insert, update delete row

Re: [GENERAL] Deny creation of tables for a user

2008-04-23 Thread Tom Lane
"Roberts, Jon" <[EMAIL PROTECTED]> writes: > You probably want to also "REVOKE ALL ON SCHEMA public FROM public;" so > users can't create objects in that schema. More like REVOKE CREATE ..., unless your intent is also to deny access to existing stuff in the public schema. You'd also want to make

Re: [GENERAL] Deny creation of tables for a user

2008-04-23 Thread Albe Laurenz
Pascal Cohen wrote: > I am playing with security in Postgres > And I would like to have a database that can be managed by a given user > that could do almost anything but I would also have a user that can just > handle what is created. > I mean she could insert, update delete rows but not create

Re: [GENERAL] Deny creation of tables for a user

2008-04-23 Thread Roberts, Jon
> Terry Lee Tucker wrote: > > On Wednesday 23 April 2008 06:46, Pascal Cohen wrote: > > > >> Hello > >> I am playing with security in Postgres > >> And I would like to have a database that can be managed by a given user > >> that could do almost anything but I would also have a user that can > jus

Re: [GENERAL] Deny creation of tables for a user

2008-04-23 Thread Pascal Cohen
Terry Lee Tucker wrote: On Wednesday 23 April 2008 06:46, Pascal Cohen wrote: Hello I am playing with security in Postgres And I would like to have a database that can be managed by a given user that could do almost anything but I would also have a user that can just handle what is created. I

Re: [GENERAL] Deny creation of tables for a user

2008-04-23 Thread Terry Lee Tucker
On Wednesday 23 April 2008 06:46, Pascal Cohen wrote: > Hello > I am playing with security in Postgres > And I would like to have a database that can be managed by a given user > that could do almost anything but I would also have a user that can just > handle what is created. > I mean she could in