pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Lewis <mlewis@entrata.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Web users as database users?
Date: Wed, 11 Mar 2020 15:24:14 -0400
Message-ID: <20200311192414.GD13712@tamriel.snowman.net> (raw)
In-Reply-To: <6223.1583940320@sss.pgh.pa.us>
References: <CAPjKuyVzvojzntx2MNMWEvuP3--z_8ZzDbdYrbvNmXkqUeLfhQ@mail.gmail.com>
	<f5dbb11b-c041-cea6-766f-63c223c526f2@minerva.info>
	<28CB89D3-194A-420F-868A-0AFC169EF7E5@gmail.com>
	<16391.1568989132@sss.pgh.pa.us>
	<CAHOFxGpS-_dGTCDkiBEE6M3AEkoSeLbrPTy8HM8kEEdHTktucA@mail.gmail.com>
	<6223.1583940320@sss.pgh.pa.us>

Greetings,

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> I'm not aware that anyone's done formal performance testing,
> but if you want to have a lot of roles in the system, my
> expectation is that you'd be better off granting privileges
> to a small number of group roles and then granting group
> role membership as appropriate.

Right- keep the ACL lists small for individual objects, then grant
membership in the appropriate roles to the actual users who log in and
such.  Having lots of roles works out a lot better that way.

Thanks,

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (9+ messages)

Message-ID: <20200311192414.GD13712@tamriel.snowman.net>
Permalink:  ../20200311192414.GD13712@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20200311192414.GD13712@tamriel.snowman.net

 · 

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: sfrost@snowman.net, tgl@sss.pgh.pa.us, mlewis@entrata.com
  Subject: Re: Web users as database users?
  In-Reply-To: <20200311192414.GD13712@tamriel.snowman.net>
  References: <CAPjKuyVzvojzntx2MNMWEvuP3--z_8ZzDbdYrbvNmXkqUeLfhQ@mail.gmail.com> <f5dbb11b-c041-cea6-766f-63c223c526f2@minerva.info> <28CB89D3-194A-420F-868A-0AFC169EF7E5@gmail.com> <16391.1568989132@sss.pgh.pa.us> <CAHOFxGpS-_dGTCDkiBEE6M3AEkoSeLbrPTy8HM8kEEdHTktucA@mail.gmail.com> <6223.1583940320@sss.pgh.pa.us> <20200311192414.GD13712@tamriel.snowman.net>

* 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