Re: [HACKERS] GRANT suggestion

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: Zakkr <zakkr(at)zf(dot)jcu(dot)cz>
Cc: pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] GRANT suggestion
Date: 1999-07-22 12:12:52
Message-ID: 37970AC4.347D653B@krs.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zakkr wrote:
>
> Hi,
>
> I need set lock table privilage for user, but now I must grant upload
> priv. for it. But I needn't upload priv. for user. Upload is possible
> via RULEs without GRANTed (upload) privilage for user.
>
> My suggestion is add to GRANT command LOCK privilage.
>
> ....
> privilege is {ALL | SELECT | INSERT | UPDATE | DELETE | RULE | LOCK

Oracle:

The table or view must be in your own schema or you must have
LOCK ANY TABLE system privilege or
you must have any object privilege on the table or view.
^^^^^^^^^^^^^^^^^^^^

So, I agreed with new LOCK privilege with addition above.

Vadim

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Hollomon 1999-07-22 12:39:28 Re: [HACKERS] Maximum query string length
Previous Message Zakkr 1999-07-22 11:32:02 GRANT suggestion