Thanks kasapo for your answer. Yes, I'm using decorators and groups. The matter is I have user id like 0000000x (sequential, is the same that "id" field) and I don't like to break the numeration when I adding an "admin" user.
Regards José Eloy Torres On 22 jun, 13:44, kasapo <[email protected]> wrote: > What about using the auth groups? > > See here:http://www.web2py.com/book/default/chapter/08#Decorators > > You can use the function decorator: > @auth.requires_login() > > for general users (and admins) > > and use: > @auth.requires_membership('admin') > for admin pages > > Then all you have to do is add admin users to the admin group. See the > book :) > > On Jun 22, 1:31 pm, pepe_eloy <[email protected]> wrote: > > > > > > > > > Hello! > > > Is it possible to use 2 auth tables? I need one for register users and > > another to register admins of my system > > > Regards

