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 2E9923CC499 for ; Sat, 25 Dec 2004 09:32:07 +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 40751-04 for ; Sat, 25 Dec 2004 09:32:01 +0000 (GMT) Received: from intranet.ru (intranet.ru [212.164.71.24]) by svr1.postgresql.org (Postfix) with ESMTP id 5B7733CC489 for ; Sat, 25 Dec 2004 09:32:00 +0000 (GMT) Received: from [172.16.1.3] (HELO mx3.intranet.ru) by intranet.ru (CommuniGate Pro SMTP 4.2.4) with ESMTP id 172379117 for pgsql-admin@postgresql.org; Sat, 25 Dec 2004 15:31:56 +0600 Received: from [193.124.215.227] (account rootter@ngs.ru) by mx3.intranet.ru (CommuniGate Pro WebUser 4.2.4) with HTTP id 9556966 for pgsql-admin@postgresql.org; Sat, 25 Dec 2004 15:31:56 +0600 From: "Alex" Subject: database permissions:how to create read only user for db To: pgsql-admin@postgresql.org X-Mailer: CommuniGate Pro WebUser Interface v.4.2.4 Date: Sat, 25 Dec 2004 15:31:56 +0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="KOI8-R"; format="flowed" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/264 X-Sequence-Number: 15850 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/ --------------------------------------------------------- http://mobile.ngs.ru/games - Java-игры для мобильников и не только... http://love.ngs.ru - Знакомства в Новосибирске