Hi,
I am new to web2py and I am stuck with a strange problem.
I am writing a simple application to manage a db.
Within my application I am have two pages.
- A main page with a SQLFORM.grid showing the records of Table A 
- A detail page showing the information and allowing edits of a single 
records of Table A through a SQLFORM 
Detail page of a given record can be accessed from a link field in the grid 
on the main page.

Having this setup working I decided to go ahead. I am planning to add to 
the detail page a list of records of a 
many-to-many relationship linking the record of Table A to  records of 
Table B through an encoding table Table AB.
Initially I just tried to add an additional SQLFORM.grid to the detail page 
pulling out all the records of Table B (no link whatsoever) .
However when I add the new SQLFORM.grid to the detail page I get an "not 
authorized" message as soon as I click on 
link in the main page.
How the SQLFORM.grid is changing the way the detail page can be accessed is 
a mystery to me, but I am confident
someone will have an answer.

Thanks


 


 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to