Privileges on public schema can't be revoked?

From: Greg Fodor <gfodor(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Privileges on public schema can't be revoked?
Date: 2016-09-06 08:27:34
Message-ID: CANcOxN2zHPYY-b3N8duTuFOTVDP=zgzJj0=GLfb16dnrzHzX9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Apologies in advance about this since it is likely something obvious,
but I am seeing some very basic behavior that does not make sense.
I've tested this on a fresh build of 9.6rc1 and also 9.1.24 (just to
see if it was a regression.) After creating a test database, and a
test user that I revoke all privileges on the public schema to, yet
that user is still able to create tables in the public schema. Revokes
on other schemas work as expected, it seems the public schema is
treated specially.

https://gist.github.com/gfodor/c360683f25f55497c8c657255fd0e0f8

Any help appreciated!

-Greg

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Glyn Astill 2016-09-06 09:03:56 Re: postgres driver for mysql
Previous Message Durumdara 2016-09-06 08:26:47 Re: Restricted access on DataBases