pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedDenying CREATE TABLE capability
2+ messages / 2 participants
[nested] [flat]
* Denying CREATE TABLE capability
@ 2001-03-09 14:20 Michael Minock <mjm@cs.umu.se>
2001-03-13 07:40 ` Re: Denying CREATE TABLE capability R D <mrk279@yahoo.com>
0 siblings, 1 reply; 2+ messages in thread
From: Michael Minock @ 2001-03-09 14:20 UTC (permalink / raw)
To: pgsql-admin
Hello all -
My users are able to connect to a main database and then create their own
databases.
However I do not want them to be able to create tables in the main database.
But in the main database, some users always create tables, which I have to
periodically go in and drop.
I have tried to deny users capability to add tables in the main database by
revoking users rights on the catalog relations.
Especially pg_class, etc... Still I have found no way to achieve the above
policy.
Does anyone know the trick to get this policy enforced?
Thanks,
Mike Minock
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Denying CREATE TABLE capability
2001-03-09 14:20 Denying CREATE TABLE capability Michael Minock <mjm@cs.umu.se>
@ 2001-03-13 07:40 ` R D <mrk279@yahoo.com>
0 siblings, 0 replies; 2+ messages in thread
From: R D @ 2001-03-13 07:40 UTC (permalink / raw)
To: Michael Minock <mjm@cs.umu.se>; +Cc: pgsql-admin
Unfortunately There is no way atleast i do not know of
such since you can not REVOKE this from users. I do
not know why The developers consider this as not so
inportant. This capability was in the todo list for
7.1 but was removed. I would like to see this feature
in postgres because I'm tyred dropping unnecessary
user tables. I'm also tired of hopeing to sse this and
atlast I'll migrate to another RDBMS :).
Rumen
--- Michael Minock <mjm@cs.umu.se> wrote:
> Hello all -
>
> My users are able to connect to a main database and
> then create their own
> databases.
> However I do not want them to be able to create
> tables in the main database.
> But in the main database, some users always create
> tables, which I have to
> periodically go in and drop.
>
> I have tried to deny users capability to add tables
> in the main database by
> revoking users rights on the catalog relations.
> Especially pg_class, etc... Still I have found no
> way to achieve the above
> policy.
>
> Does anyone know the trick to get this policy
> enforced?
>
> Thanks,
> Mike Minock
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-03-13 07:40 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-09 14:20 Denying CREATE TABLE capability Michael Minock <mjm@cs.umu.se>
2001-03-13 07:40 ` R D <mrk279@yahoo.com>
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