pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
GRANT bug
2+ messages / 2 participants
[nested] [flat]

* GRANT bug
@ 2000-04-13 12:06 Vladimir V. Zolotych <gsmith@eurocom.od.ua>
  2000-04-13 13:19 ` Re: GRANT bug Oleg Broytmann <phd@phd.russ.ru>
  0 siblings, 1 reply; 2+ messages in thread

From: Vladimir V. Zolotych @ 2000-04-13 12:06 UTC (permalink / raw)
  To: pgsql-admin

  Please help!

Cannot GRANT SELECT access on table to other user.

I do the following:

1) Create database with the name foo,
2) Create table bar,
3) SELECT * FROM bar
4) GRANT SELECT on bar TO dmr
5) Login as user dmr (properly added as Postgres user),
5) SELECT * from bar;
    ......
    (1 row)
    The table is readable for dmr,
6) Login as database (foo) and table (bar) creator,
7) SELECT * FROM bar;
    ERROR: bar: Permission denied.

Can anybody help?
How can I GRANT SELECT access to my table to another user
no losing access to table for myself?





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: GRANT bug
  2000-04-13 12:06 GRANT bug Vladimir V. Zolotych <gsmith@eurocom.od.ua>
@ 2000-04-13 13:19 ` Oleg Broytmann <phd@phd.russ.ru>
  0 siblings, 0 replies; 2+ messages in thread

From: Oleg Broytmann @ 2000-04-13 13:19 UTC (permalink / raw)
  To: Vladimir V. Zolotych <gsmith@eurocom.od.ua>; +Cc: pgsql-admin

On Thu, 13 Apr 2000, Vladimir V. Zolotych wrote:
> How can I GRANT SELECT access to my table to another user
> no losing access to table for myself?

   Grant it to yourself, too.

Oleg.
---- 
    Oleg Broytmann    http://members.xoom.com/phd2.1/    phd2@earthling.net
           Programmers don't die, they just GOSUB without RETURN.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-04-13 13:19 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-04-13 12:06 GRANT bug Vladimir V. Zolotych <gsmith@eurocom.od.ua>
2000-04-13 13:19 ` Oleg Broytmann <phd@phd.russ.ru>

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