On Friday, August 16, 2019 at 11:22:33 AM UTC-7, Ramos wrote:
>
> hello the the login bare function
> auth.login_bare(user,pwd)
> needs a password !!
> Why ?
> I dont know the users passwords but need to impersonate some users to 
> create records on behalf of them 
>
> Am i reading it right ?
>
> Regards
> António
>

Well, sure, it's a login method, right?

What you need to look at is the impersonate method, which is described in 
the long first section of
<URL:http://web2py.com/books/default/chapter/29/09/access-control#Authentication>

(Speed-read:  click instead on
<URL:http://web2py.com/books/default/chapter/29/09/access-control#Restrictions-on-registration
 
>
and scroll up)


/dps

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/73d3afa6-27b0-4a14-978a-82107713b3d6%40googlegroups.com.

Reply via email to