Re: How to grant a user read-only access to a database?

From: Kevin Kempter <kevink(at)consistentstate(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to grant a user read-only access to a database?
Date: 2010-03-03 17:44:33
Message-ID: 201003031044.33389.kevink@consistentstate.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday 03 March 2010 08:19:46 am Tom Lane wrote:
> Kevin Kempter <kevink(at)consistentstate(dot)com> writes:
> > I believe all you have to do is this to create a read only user:
> > create user ro_user with password 'passwd';
> > alter user ro_user set default_transaction_read_only = true;
>
> You do realize the user can just unset that again?
>
> regards, tom lane

I did not. Thanks for the heads up.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message akp geek 2010-03-03 17:46:33 Auto VACUUM
Previous Message Tom Lane 2010-03-03 17:37:30 Re: [GENERAL] to_timestamp() and quartersf