...or maybe the problem lies int this function in the controller file:
def admin():
records = db().select(custom_auth_table.ALL,
orderby=custom_auth_table.username)
form = SQLFORM(db[auth.settings.table_user_name])
if form.accepts(request.post_vars, session):
session.flash = 'saved.'
redirect(URL('admin'))
return dict(form=form, records=records)
On Jan 16, 1:08 am, Rick <sababa.sab...@gmail.com> wrote:
> Perhaps I should reformulate the problem -- I want to make one table
> for each auth-user, so that an auth-user can't see the records of
> ohters auth-users.
>
> On Jan 15, 11:52 pm, pbreit <pbreitenb...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I may not understand either. The user authentication functionality is
> > automatically provided by web2py scaffolding. I would suggest using it
> > without modifications until you run into limitations.