pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: lexx@gorodok.net
To: pgsql-admin@postgresql.org
Subject: database permissions:how to create read only user for db
Date: Sat, 25 Dec 2004 15:54:56 +0600
Message-ID: <1655106625.20041225155456@gorodok.net> (raw)

Hello all.

Please help,
are there any way to set some (ex. deny creating tables) privileges on database (not for databases objects)?

I want crant full access to one user (let say "adminuser" for database "testdb") and make some others (read only) users,
who can read only (do SELECT from "testdb" tables), but not CREATE tables or some database objects.

As I know CRANT command allows only set privileges for database objects but not for databases.

So, can I realize this using Postgres 7.1,
or it's not possible at all?

Thanks in advance.
/lexx/




view thread (5+ messages)  latest in thread

Message-ID: <1655106625.20041225155456@gorodok.net>
Permalink:  ../1655106625.20041225155456@gorodok.net/
Also on:    postgresql.org/message-id/1655106625.20041225155456@gorodok.net

 · 

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 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: lexx@gorodok.net
  Subject: Re: database permissions:how to create read only user for db
  In-Reply-To: <1655106625.20041225155456@gorodok.net>
  References: <1655106625.20041225155456@gorodok.net>

* 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