pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jürgen Purtz <juergen@purtz.de>
To: pgsql-docs@lists.postgresql.org
Cc: stephen@onethree.bio
Subject: Re: some charts or graphs of possible permissions would be nice
Date: Thu, 11 Jun 2020 10:19:50 +0200
Message-ID: <a8e0dae8-a6f5-d208-7304-2e98a8fd1cf0@purtz.de> (raw)
In-Reply-To: <20200610155309.GA13342@alvherre.pgsql>
References: <20200610155309.GA13342@alvherre.pgsql>

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







view thread (4+ messages)

Message-ID: <a8e0dae8-a6f5-d208-7304-2e98a8fd1cf0@purtz.de>
Permalink:  ../a8e0dae8-a6f5-d208-7304-2e98a8fd1cf0@purtz.de/
Also on:    postgresql.org/message-id/a8e0dae8-a6f5-d208-7304-2e98a8fd1cf0@purtz.de

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: juergen@purtz.de, pgsql-docs@lists.postgresql.org, stephen@onethree.bio
  Subject: Re: some charts or graphs of possible permissions would be nice
  In-Reply-To: <a8e0dae8-a6f5-d208-7304-2e98a8fd1cf0@purtz.de>

* 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