Skip site navigation (1) Skip section navigation (2)

database permissions:how to create read only user for db

From: "Alex" <rootter(at)ngs(dot)ru>
To: pgsql-admin(at)postgresql(dot)org
Subject: database permissions:how to create read only user for db
Date: 2004-12-25 09:31:56
Message-ID: web-9556966@mx3.intranet.ru (view raw or flat)
Thread:
Lists: pgsql-admin
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 - Знакомства в Новосибирске







pgsql-admin by date

Next:From: lexxDate: 2004-12-25 09:54:56
Subject: database permissions:how to create read only user for db
Previous:From: Greg StarkDate: 2004-12-24 20:15:00
Subject: Re: default index for primary key of a table

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group