From: Sidar López Cruz <sidarlopez@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: Role privileges
Date: Wed, 31 Jan 2007 11:17:13 -0600
Message-ID: <BAY132-F33CE4F1E4E8B8B710F6A40CEA50@phx.gbl> (raw)
I create this connected to postgres database:
create role prueba_role with nosuperuser nocreatedb nocreaterole nologin
noinherit;
revoke all on database prueba_roles from prueba_role cascade;
revoke create on database prueba_roles from prueba_role cascade;
create user sidar with password 'sidar' login in role prueba_role;
Then connect to prueba_roles database with user sidar.
I guess that with these configuration the user cannot create tables, but I
can do it.
How to reestrict users to one database access and how to allow only SELECT
permited?
_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sidarlopez@hotmail.com
Subject: Re: Role privileges
In-Reply-To: <BAY132-F33CE4F1E4E8B8B710F6A40CEA50@phx.gbl>
References: <BAY132-F33CE4F1E4E8B8B710F6A40CEA50@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox