BUG #16603: Permission issue

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #16603: Permission issue
Дата
Msg-id 16603-40b468dea6a57650@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #16603: Permission issue  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-bugs
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.


В списке pgsql-bugs по дате отправления:

Предыдущее
От: KANGQIAOPING754@pingan.com.cn
Дата:
Сообщение: 答复: a segfault failure of query
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: BUG #16603: Permission issue