Re: [web2py] CRUD full permission on tables

2011-08-05 Thread Richard Vézina
You can build function to do that massively!

Richard

On Fri, Aug 5, 2011 at 6:38 AM, Angelo Compagnucci <
angelo.compagnu...@gmail.com> wrote:

> Hello,
>
> To enforce full CRUD permissions on a table, I have to manually add
> "read", "select", "create", "update", "delete" permissions to
> auth_permission table or there is a way to assign all permission with
> a single shot?
>
> In the same way, if I want a user with super admin rights on all the
> tables, I have to add permission for each table manually or there is a
> more web2pythonic way??
>
> Thank you!
>


[web2py] CRUD full permission on tables

2011-08-05 Thread Angelo Compagnucci
Hello,

To enforce full CRUD permissions on a table, I have to manually add
"read", "select", "create", "update", "delete" permissions to
auth_permission table or there is a way to assign all permission with
a single shot?

In the same way, if I want a user with super admin rights on all the
tables, I have to add permission for each table manually or there is a
more web2pythonic way??

Thank you!