pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Hilbert, Karin <ioh1@psu.edu>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Manage PostgreSQL Database for GITLAB Application?
Date: Mon, 21 Jan 2019 10:33:25 -0800
Message-ID: <0c744ddd-9d9c-d4b2-4351-a8efb3ab497f@aklaver.com> (raw)
In-Reply-To: <DM6PR02MB4876CBD53ECBC0D2A12A6DF9899F0@DM6PR02MB4876.namprd02.prod.outlook.com>
References: <DM6PR02MB4876CBD53ECBC0D2A12A6DF9899F0@DM6PR02MB4876.namprd02.prod.outlook.com>

On 1/21/19 9:26 AM, Hilbert, Karin wrote:
> Does anyone manage a PostgreSQL database for a GITLAB application?

Could you be more specific about the above?:

1) Are talking about installing GitLab as a self-managed server?

2) Or an application that is running over top of GitLab?

> 
> I have PostgreSQL v9.6 installed on my server & we are trying to migrate 
> a GITLAB database there.
> 
> The developer says that we need to use the public schema instead of the 
> schema of the same name as the application user.
> 
> The schema that he provided me to restore also is revoking all 
> privileges from the database owner & instead granting all privileges to 
> PUBLIC.
> 
> Has anyone else run across this?  I always thought that granting 
> privileges to PUBLIC is a bad security thing to do?

Well this really depends on the needs of the application. I would ask 
the developer how security is handled?

> 
> If anyone can offer any thoughts regarding this, it would be greatly 
> appreciated.
> 
> Thanks, Karin
> 
> 
> Karin Hilbert
> Database Specialist
> Administrative Information Services
> Pennsylvania State University
> 25 Shields Bldg., University Park, PA  16802
> Work - 814-863-3633
> Email - ioh1@psu.edu
> IM - ioh1@chat.psu.edu
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (9+ messages)  latest in thread

Message-ID: <0c744ddd-9d9c-d4b2-4351-a8efb3ab497f@aklaver.com>
Permalink:  ../0c744ddd-9d9c-d4b2-4351-a8efb3ab497f@aklaver.com/
Also on:    postgresql.org/message-id/0c744ddd-9d9c-d4b2-4351-a8efb3ab497f@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, ioh1@psu.edu
  Subject: Re: Manage PostgreSQL Database for GITLAB Application?
  In-Reply-To: <0c744ddd-9d9c-d4b2-4351-a8efb3ab497f@aklaver.com>
  References: <DM6PR02MB4876CBD53ECBC0D2A12A6DF9899F0@DM6PR02MB4876.namprd02.prod.outlook.com> <0c744ddd-9d9c-d4b2-4351-a8efb3ab497f@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox