permissions PostgreSQL 9.5

From: Patrick B <patrickbakerbr(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: permissions PostgreSQL 9.5
Date: 2016-08-10 01:33:11
Message-ID: CAJNY3it5cgg+4XrX08yg5Q=V2vUkHu_m4yDtYY8EufxuYF2EWg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi guys,

just setting up a new DB using PostgreSQL 9.5.

I've created a new username for the code, called codeuser.

To give the username access to all the tables, views, etc I ran:

GRANT INSERT, SELECT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO
> codeuser;

Is that ok? Is that enough?

Thanks

Responses

Browse pgsql-general by date

  From Date Subject
Next Message rob stone 2016-08-10 02:08:58 Re: permissions PostgreSQL 9.5
Previous Message Tom Lane 2016-08-10 01:06:52 Re: Detecting if current transaction is modifying the database