pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: How do I create a Backup Operator account ?
Date: Tue, 30 Jul 2019 07:21:51 -0500
Message-ID: <1d1008e3-d2bd-60ee-70ec-27ac54b164d1@gmail.com> (raw)
In-Reply-To: <CAKoxK+4KtWSPH+LNqnsFFddyynjkjud4ZFh0QS2dhDJmU7bMrw@mail.gmail.com>
References: <CALrcA6=BD-+7tq=rDELRGtfWaStk2YznFMQb_tAdvZVcs6NBWQ@mail.gmail.com>
	<CAKoxK+4KtWSPH+LNqnsFFddyynjkjud4ZFh0QS2dhDJmU7bMrw@mail.gmail.com>

On 7/30/19 12:58 AM, Luca Ferrari wrote:
> On Tue, Jul 30, 2019 at 2:50 AM Marcos Aurelio Nobre
> <marconobre@gmail.com> wrote:
>> I was wondering if it was possible to configure the pgAdmin4 menus to be available for a particular login, only Backup & Restore items. But I'm not sure how to associate a bank login account with a specific menu setting of a client tool.
> I think that hiding features from a GUI is a poor idea to protect your
> data (from what?).
> If you are talking of a single database (or a restricted set of), you
> can provide a role with the less privileges, like only SELECT and use
> such account to do the backup. But you need all the grants on another
> account to restore the backup.
>
> Anyway, I think you should rethink about your aim: what's the point of
> having a restricted user who can backup ALL the data?

Luca, it is common some large Enterprise environments to have Operations 
staff that can run backups without being able to do anything else.  For 
example, SQL Server has a per-database user mapping named db_backupoperator.

-- 
Angular momentum makes the world go 'round.





view thread (8+ messages)  latest in thread

Message-ID: <1d1008e3-d2bd-60ee-70ec-27ac54b164d1@gmail.com>
Permalink:  ../1d1008e3-d2bd-60ee-70ec-27ac54b164d1@gmail.com/
Also on:    postgresql.org/message-id/1d1008e3-d2bd-60ee-70ec-27ac54b164d1@gmail.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: ronljohnsonjr@gmail.com
  Subject: Re: How do I create a Backup Operator account ?
  In-Reply-To: <1d1008e3-d2bd-60ee-70ec-27ac54b164d1@gmail.com>
  References: <CALrcA6=BD-+7tq=rDELRGtfWaStk2YznFMQb_tAdvZVcs6NBWQ@mail.gmail.com> <CAKoxK+4KtWSPH+LNqnsFFddyynjkjud4ZFh0QS2dhDJmU7bMrw@mail.gmail.com> <1d1008e3-d2bd-60ee-70ec-27ac54b164d1@gmail.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