Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjIRH-0002E7-VK for pgsql-docs@arkaria.postgresql.org; Thu, 11 Jun 2020 08:19:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jjIRG-0005dC-Ql for pgsql-docs@arkaria.postgresql.org; Thu, 11 Jun 2020 08:19:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjIRG-0005d5-KY for pgsql-docs@lists.postgresql.org; Thu, 11 Jun 2020 08:19:54 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjIRE-0000h2-Cg for pgsql-docs@lists.postgresql.org; Thu, 11 Jun 2020 08:19:54 +0000 Received: from [192.168.178.43] ([77.180.15.158]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPSA (Nemesis) id 1N7yz7-1io9Zd34KZ-01540Y; Thu, 11 Jun 2020 10:19:50 +0200 Subject: Re: some charts or graphs of possible permissions would be nice To: pgsql-docs@lists.postgresql.org Cc: stephen@onethree.bio References: <20200610155309.GA13342@alvherre.pgsql> From: =?UTF-8?Q?J=c3=bcrgen_Purtz?= Message-ID: Date: Thu, 11 Jun 2020 10:19:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200610155309.GA13342@alvherre.pgsql> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:W5EKeNnFTmG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ArJAjZZCHFmXGv te4jJGt8tyvGGqOX7tNNKwDXoGmdoBIpMAAKCBy6Kt1lwPaO6/y4iX5ToyZ5uaGnSuQaUaK List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10.06.20 17:53, Alvaro Herrera wrote: > On 2020-Jun-10, Laurenz Albe wrote: > >> On Tue, 2020-06-09 at 21:34 +0000, PG Doc comments form wrote: >>> Having read through the documentation on roles/granting I think I more or >>> less understand how it works, but what isn't really clarified is what the >>> overall universe of permissions that can be granted looks like. For example >>> I still didn't realize that to create a schema, you need to "GRANT CREATE" >>> to the role on the database before the role is allowed to do that. It's hard >>> to make a mental map of everything that a new role might need when I am >>> creating it. >> That would be material for a tutorial rather than a documentation. > ... but our documentation *does* have a tutorial, which could perhaps > gain a section about privileges. > What permissions issues do users typically struggle with? I personally have seen no problems in this area. Stephen sends one example; can you send more examples - or even a short text or a sketch of what you expect to be in the documentation? More general: Is it a real problem? My experience is that in most cases permissions are handled at the application level, not at the database level. Is it worth to give more details? I don't think so. But it may be a good idea to follow Stephen's suggestion and put an introductory summary to the tutorial chapter. -- Jürgen Purtz