Quantcast
Channel: Why is a new user allowed to create a table? - Database Administrators Stack Exchange
Browsing all 4 articles
Browse latest View live

Answer by Adrian Macneil for Why is a new user allowed to create a table?

If you only want to prevent new users from creating tables, you need to run the following command:REVOKE CREATE ON SCHEMA public FROM public;If you REVOKE ALL (as other answers suggest), you will also...

View Article



Answer by Craig Ringer for Why is a new user allowed to create a table?

The crucial thing to understand here is that privileges are not heirachical and are not inherited from containing objects. ALL means all privileges for this object not all privileges for this object...

View Article

Answer by Daniel Vérité for Why is a new user allowed to create a table?

When you create a new database, any role is allowed to create objects in the public schema. To remove this possibility, you may issue immediately after the database creation:REVOKE ALL ON schema public...

View Article

Why is a new user allowed to create a table?

I'm wondering why a newly created user is allowed to create a table after connecting to a database. I have one database, project2_core:postgres=# \l List of databases Name | Owner | Encoding | Collate...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images