After a dive in
gluon/tools.py
And a lot of try and errors this is what i came up to:
https://gist.github.com/ybenitezf/5e66627c668813886f9da60f67aef5e9
maybe is not the best way
El viernes, 27 de septiembre de 2019, 15:55:47 (UTC-4), Yoel Benitez
Fonseca escribió:
>
> h!
>
> With
On Friday, September 27, 2019 at 12:55:47 PM UTC-7, Yoel Benitez Fonseca
wrote:
>
> h!
>
> With `auth.accessible_query` u get the rows accessible to a user, how to
> do the inverse ?
>
> I want to know the users who have a given permission
>
Try auth.has_membership(group_id='agents') , per
2 matches
Mail list logo