From: Rodrigo Sakai <rodrigo.sakai@zanthus.com.br>
To: pgsql-admin@postgresql.org
Subject: ROLES and PRIVILEGES
Date: Wed, 26 Jul 2006 10:50:48 -0300
Message-ID: <002901c6b0ba$805f6960$4700a8c0@TREEZANTHUS> (raw)
Hi all,
Sorry if this is an already answered question. I'm having some troubles to
set privileges to a user (role). I have to roles, postgres (the superuser)
and roger, I created a database 'test' with postgres role and I want that
roger have only SELECT, INSERT, UPDATE and DELETE on that database, so I
tried:
REVOKE ALL ON DATABASE test FROM roger;
GRANT SELECT, UPDATE, INSERT, DELETE ON <table_name> TO roger;
But the role roger can still create objects in this database and I don't
want it!
Any HELP???
Thanks!!!
Rodrigo Sakai
Administrador de Banco de Dados
*(11) 3750-7075
* rodrigo.sakai@zanthus.com.br
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: rodrigo.sakai@zanthus.com.br
Subject: Re: ROLES and PRIVILEGES
In-Reply-To: <002901c6b0ba$805f6960$4700a8c0@TREEZANTHUS>
* 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