X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DF2673CC4E4 for ; Sat, 25 Dec 2004 09:40:32 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 43039-04 for ; Sat, 25 Dec 2004 09:40:26 +0000 (GMT) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by svr1.postgresql.org (Postfix) with ESMTP id AD6473CC50C for ; Sat, 25 Dec 2004 09:40:25 +0000 (GMT) Received: from land6.land7.nsu.ru ([193.124.213.206] helo=land7.nsu.ru) by mx.nsu.ru with esmtp (Exim 4.34) id 1Ci8Yv-00060C-Q8 for pgsql-admin@postgresql.org; Sat, 25 Dec 2004 15:50:13 +0600 Received: from lexx.land7.nsu.ru ([193.124.217.215]) by land7.nsu.ru with esmtp (Exim 3.35 #1 (Debian)) id 1Ci8QS-00078k-00 for ; Sat, 25 Dec 2004 15:41:28 +0600 Date: Sat, 25 Dec 2004 15:54:56 +0600 From: lexx@gorodok.net X-Mailer: The Bat! (v1.52f) UNREG / CD5BF9353B3B7091 Reply-To: lexx@gorodok.net X-Priority: 3 (Normal) Message-ID: <1655106625.20041225155456@gorodok.net> To: pgsql-admin@postgresql.org Subject: database permissions:how to create read only user for db MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.178 tagged_above=0 required=5 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200412/237 X-Sequence-Number: 15823 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/