Dear Massimo,

I just sent you a zip of the app. Thanks for the help.

Love and peace,

Joe

On Thu, Sep 13, 2012 at 4:42 AM, Massimo Di Pierro <
[email protected]> wrote:

> Can you email me your app? Could be a bug in web2py but it will be easier
> to check it with your app.
>
> Massimo
>
>
> On Wednesday, September 12, 2012 8:38:27 PM UTC-5, JoeCodeswell wrote:
>>
>> 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