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 `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
>
> -- 
> Msc. Yoel Benítez Fonseca
>
>
>
>
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/45c5e977-f355-46d5-9b77-c8f30b83637f%40googlegroups.com.

Reply via email to