Dear web2py Group,

I am running 2.0.8 on win xp.
I created a new simple app named forms.
I added some tables to models/db.py
I added the following lines to controllers/default.py
from gluon.tools import Crud
crud = Crud(db)

def data(): return dict(form=crud())

When I navigate to http://127.0.0.1:8000/forms/default/data/tables
A. I was forced to login which i didn't expect.
B. Once logged in, i got sent to 
http://127.0.0.1:8000/forms/default/user/not_authorized

I searched the entire applications/forms subdirectory structure for files 
containing "crud.settings.auth". I got "no results to display". As i read 
the book 
[http://web2py.com/books/default/chapter/29/9#Authorization-and-CRUD], 
 crud.settings.auth must be set to auth to make this behavior happen. Am i 
misinterpreting the book or is this a bug?

Thanks for the help.

Love and peace,

Joe

-- 



Reply via email to