for table in db.tables: auth.add_permission(group_id,'read',db[table])

On May 10, 4:47 pm, Tito Garrido <[email protected]> wrote:
> Is there a way to grant ALL permissions to ALL tables at once using auth.
> add_permission?
>
> Thanks!
>
> Tito
>
> --
> Linux User #387870
> .........____
> .... _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:_______
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to