On Tuesday, August 16, 2011 4:21:37 AM UTC-4, Marin wrote: > > Hi, > > there is a bug in documentation, > http://web2py.com/book/default/chapter/08#Authorization > > rows = db(accessible_query('read', db.mytable, user_id))\ > .select(db.mytable.ALL) > > should be: > > rows = db(auth.accessible_query('read', db.mytable, user_id))\ > .select(db.mytable.ALL)
Fixed.