Re: PATCH: Updated ACL parsing function. [pgAdmin4]

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: PATCH: Updated ACL parsing function. [pgAdmin4]
Date: 2016-03-09 17:12:28
Message-ID: CA+OCxoz3zw09HwdGUOAO5+R8wDQgB3DkUetryiyCgjEnsAwz5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, patch applied.

On Tue, Mar 8, 2016 at 1:51 PM, Murtuza Zabuawala
<murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:
> Hi All,
>
> I have updated "parse_priv_to_db" function to return list instead of string.
> I have also updated the common macro template under servers node.
> (Please review & verify respective nodes ACL functionality though)
>
> This will also allow us to operate on individual privileges & also we needed
> this functionality for column node.
>
> For example,
>
> Earlier: priv was string
>
> GRANT {{ priv }} ON {{ type }} TO {{ conn|qtIdent(role) }};
>
> Now: priv will be List, which we need to handle in jinja templates.
>
> GRANT {{ priv|join(', ') }} ON {{ type }} TO {{ conn|qtIdent(role) }};
>
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>

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

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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-03-09 17:25:04 Re: PIP Package Building for pgAdmin4
Previous Message Dave Page 2016-03-09 17:10:45 pgAdmin 4 commit: Update "parse_priv_to_db" function to return list a i