pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: imad <immaad@gmail.com>
To: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
Cc: Pgadmin-Support <pgadmin-support@postgresql.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] Grants
Date: Fri, 1 Dec 2006 01:24:49 +0500
Message-ID: <1f30b80c0611301224r135849ffg2426291a42afa29@mail.gmail.com> (raw)
In-Reply-To: <55c095e90611301141n16b8f278n43f65ce5613e663d@mail.gmail.com>
References: <55c095e90611301141n16b8f278n43f65ce5613e663d@mail.gmail.com>

You did not grant access privileges to schema.
Also GRANT administrators on the base schema as you did for the table.

--Imad
www.EnterpriseDB.com


On 12/1/06, Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com> wrote:
> 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
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
>
>
>



view thread (6+ messages)  latest in thread

Message-ID: <1f30b80c0611301224r135849ffg2426291a42afa29@mail.gmail.com>
Permalink:  ../1f30b80c0611301224r135849ffg2426291a42afa29@mail.gmail.com/
Also on:    postgresql.org/message-id/1f30b80c0611301224r135849ffg2426291a42afa29@mail.gmail.com

 · 

reply

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: immaad@gmail.com, ezequias.rocha@gmail.com, pgadmin-support@postgresql.org
  Subject: Re: [SQL] Grants
  In-Reply-To: <1f30b80c0611301224r135849ffg2426291a42afa29@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