[web2py] crud permissions

2013-08-01 Thread GregD
I've turned on auth and attempting to use crud. when I go to my app http://.../data/create/table_name I get insufficient privileges NOT Authorized Access Denied What am I missing? db.py is as follows: from gluon.tools import Auth from gluon.tools import Crud db =

Re: [web2py] crud permissions

2013-08-01 Thread Richard Vézina
crud does what it does enforce permission on table... I think you need to create group, membership to this group to one of your user (your user for instance), then create permissions : create permission for table x for group y. You can use the appadmin interface for that at /appname/appadmin

[web2py] Crud Permissions

2013-02-14 Thread Greg
I want to have two auth_groups: administrator who will have complete CRUD access to all tables, and editor who will have complete CRUD access to a limited set of tables. I can give administrator access without even setting up permissions by doing the following: