From: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
To: Pgadmin-Support <pgadmin-support@postgresql.org>
To: pgsql-sql@postgresql.org
Subject: Grants
Date: Thu, 30 Nov 2006 17:41:51 -0200
Message-ID: <55c095e90611301141n16b8f278n43f65ce5613e663d@mail.gmail.com> (raw)
Hi list,
I am having problem with grants and users on PostgreSQL.
I am using pgAdmin to connect like other user to test my permissions.
As the owner of the database I have criated two roles:
administrators (cannot connect)
ezequias (can connect)
I give permissions to a table I have:
GRANT SELECT, UPDATE, INSERT ON TABLE base.table1 TO administrators;
My user:
CREATE ROLE ezequias LOGIN
NOSUPERUSER NOINHERIT NOCREATEDB NOCREATEROLE;
GRANT administradores TO ezequias;
My group
CREATE ROLE administradores
NOSUPERUSER NOINHERIT NOCREATEDB NOCREATEROLE;
When I try to access the table base.table1 with ezequias login the
pgAdmin reports:
(see attached image)
Could someone tell me what I did wrong ?
Ezequias
Attachments:error.JPG (image/jpeg, 9.0K) downloadview image
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-sql@postgresql.org
Cc: ezequias.rocha@gmail.com, pgadmin-support@postgresql.org
Subject: Re: Grants
In-Reply-To: <55c095e90611301141n16b8f278n43f65ce5613e663d@mail.gmail.com>
* 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