Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jC6xk-0001YL-SS for pgsql-general@arkaria.postgresql.org; Wed, 11 Mar 2020 19:24:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jC6xj-0006DG-My for pgsql-general@arkaria.postgresql.org; Wed, 11 Mar 2020 19:24:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jC6xj-00069b-9Y for pgsql-general@lists.postgresql.org; Wed, 11 Mar 2020 19:24:15 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jC6xg-0005b7-Jn for pgsql-general@lists.postgresql.org; Wed, 11 Mar 2020 19:24:13 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id F28A55F7A3; Wed, 11 Mar 2020 15:24:14 -0400 (EDT) Date: Wed, 11 Mar 2020 15:24:14 -0400 From: Stephen Frost To: Tom Lane Cc: Michael Lewis , "pgsql-general@lists.postgresql.org" Subject: Re: Web users as database users? Message-ID: <20200311192414.GD13712@tamriel.snowman.net> References: <28CB89D3-194A-420F-868A-0AFC169EF7E5@gmail.com> <16391.1568989132@sss.pgh.pa.us> <6223.1583940320@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FN+gV9K+162wdwwF" Content-Disposition: inline In-Reply-To: <6223.1583940320@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --FN+gV9K+162wdwwF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --FN+gV9K+162wdwwF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJeaTreAAoJEO1sijiDR2RVZ4oP/1WriH8F0SwNXjwYQInt4j7i w8yD8afmMRqje6xXmvw1/YL+RQMLjbWQ0L2d7JIeKVN8OwdACa6CFNA1wgeN7AHw kzcJqWzuAvE9QBYSFvP7RK1IDvgi/KiwT+7k+eIH3nAOKsRcu9X3iKcb5Tyd9mJp gCqRYda0DPS17jgfS//QiY1tj8vXb+e6LK2VSlrqJuiGdJsgSishailNRUAffmQV J7+fYXKZDySOaegV64NYwbCroNIDXVJKeajSZl9xNz+wfxigslNYq9LwBkKWwRjz 8U2vwAHFAsJNH1WzTTCkT/1zXPoIThT/q8fR+ytr1wH1a+RczVUrtN7OG4ebf/NW MFGI4V4eVnYTA21Ikv14O0q7Ii1VQrmv/WOvYkgdVAFU7ZWRC/EqLfV/i6KE9y+d 1s1k1nhSgZWbYaksXpTQ8W8EzCfzeyxbSwJwOWBG4KFQjXt4JnZESmr7X7/ymNJK BMkDslZFdGH1+R9OFE1Qi2XSUwfH/73g3S46+4y19L5RQKVkOhuDA0BlNQdZO1sX niOrMV10tBpssuj3iBxffvEkziUON5IKok8BgJps80hNW+QBLZrZPHWlYasvgec/ IHr+LgYtKlK2ptPejFHXagxC5HtLPuJGV707mOTJ3VqoGAZ5OLI2wzWaMDDvjZBg raHMd8KUbLAIa2qfPExf =ZOJc -----END PGP SIGNATURE----- --FN+gV9K+162wdwwF--