Re: Grants on sequences via Grant Wizard fix patch

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Dhiraj Chawla <dhiraj(dot)chawla(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Grants on sequences via Grant Wizard fix patch
Date: 2013-05-22 20:02:33
Message-ID: CA+OCxoxvpAwYN128YTW4k+W=HbnsQCVoagH899T1vBSDERPs0Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

On Wed, May 22, 2013 at 8:01 PM, Dhiraj Chawla
<dhiraj(dot)chawla(at)enterprisedb(dot)com> wrote:
> Hi Dave,
>
> As per the issue reported on pgadmin-support mailing list related to grant
> wizard treating a sequence like a table and giving it grants similar to that
> of the table, attached is the patch that fixes this issue. According to this
> patch now we check for the sequences object separately and provide grants to
> it accordingly. Also according the mail, it was also reported the we were
> missing the USAGE grant in the Grant Wizard which I have added to it as part
> of this patch.

Cool, thanks.

> One thing I noticed though, as we have the RULE grant still existing in the
> Grant Wizard, which has been removed after PG-8.1. As the minimum supported
> version by the community is 8.4, should we remove the RULE grant from the
> Wizard??

Yes please. Can you update the patch with that change?

Thanks!

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dhiraj Chawla 2013-05-22 23:40:37 Re: Grants on sequences via Grant Wizard fix patch
Previous Message Dhiraj Chawla 2013-05-22 20:01:23 Grants on sequences via Grant Wizard fix patch