i just looked at source briefly, i like the auth.* decorators and the ability to add a custom test. i'll be using it in next couple weeks instead of my own hacked up version.
if i were to nitpick: 1) where's the tests? auth is pretty important... shoudl have some tests. 2) what's with user.user_id, permission.permission_code_name , etc. including the table name in the column is redundant. (or is that preferred style now?) also, did i miss it or where does one set the salt? i was looking for that in the config -brent On Wed, Oct 22, 2008 at 9:31 AM, Juan Pablo Scaletti <[EMAIL PROTECTED]> wrote: > > :D Any question | suggestion | angry rant? > > On 22 oct, 10:57, "Brent Pedersen" <[EMAIL PROTECTED]> wrote: >> this is excellent. thanks. >> >> On Wed, Oct 22, 2008 at 5:30 AM, Juan Pablo Scaletti >> >> <[EMAIL PROTECTED]> wrote: >> >> > I've made a cookie-based authentication module for web.py 0.3 >> > The module allows you to: >> >> > * Limit access to pages based on if the user is logged in, if is >> > authorized (by checking against a table of permissions) or meet >> > certain conditions. >> > * Generate and manage password hashes. Sha1, sha512 and bcrypt are >> > supported. >> > * Authenticate a user by checking a login and password against a >> > database of users. >> > * Generate and validate tokens for passwords resets. >> >> > It also includes default pages to login, generate a password-reset >> > token, email the token and set a new password after the token is >> > validated. >> >> > Documentation:http://jpscaletti.com/webpy_auth/ >> >> > Download:http://jpscaletti.com/static/webpy_auth.zip >> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
