pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: yuri6037@outlook.com
Subject: BUG #16603: Permission issue
Date: Tue, 01 Sep 2020 16:09:58 +0000
Message-ID: <16603-40b468dea6a57650@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16603
Logged by:          PostgreSQL create database with full privileges granted to one specific
user.
Email address:      yuri6037@outlook.com
PostgreSQL version: 12.4
Operating system:   Linux and Windows
Description:        

The following MySQL query: GRANT ALL PRIVILEGES ON database_name.* TO
'username'@'localhost'; allows one to assign one database to a given user.
That includes ALL permissions even database creation.
Currently this behavior is impossible in PostgreSQL: One can create a
database and GRANT ALL PRIVILEGES however this won't grant the CREATEDB
permission on that database. The bug/issue here is that CREATEDB cannot be
assigned to a specific database/user combination.

Currently this bug prevents development of some applications. As such in one
of my application I was forced to drop support for PostgreSQL and return to
MySQL.



view thread (2+ messages)  latest in thread

Message-ID: <16603-40b468dea6a57650@postgresql.org>
Permalink:  ../16603-40b468dea6a57650@postgresql.org/
Also on:    postgresql.org/message-id/16603-40b468dea6a57650@postgresql.org

 · 

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-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, yuri6037@outlook.com
  Subject: Re: BUG #16603: Permission issue
  In-Reply-To: <16603-40b468dea6a57650@postgresql.org>

* 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