pyForum is a complete application, it is not a plug-in, it purposely has a minimalistic stylesheet in order to be easier to adapt to your own apps or framework, it authentication works very similar to web2py's however, I abstracted it into "auth.py" (CustomAuthentication class) and used a minimal set of methods that makes it very lightweight, you can potentially change the app to use your own site's authentication schema so users that are already logged in in your application don't need to log in "again", but obviously that'll require custom changes on your part, hope this helps.
Julio On Aug 18, 3:46 am, Vasile Ermicioi <elff...@gmail.com> wrote: > is it a plugin? how can I embed inside an application? > > model looks like it is a separate application > > ## Authentication Schema (3 tables) > db.define_table('auth_users', > db.Field('auth_email', 'string', length=128, required=True), > db.Field('auth_passwd', 'string', length=128, > required=True), > db.Field('auth_created_on', 'string', required=True), > db.Field('auth_modified_on', 'string', required=True), > db.Field('is_enabled', 'boolean', required=False, > default=True), > migrate='auth_users.table', fake_migrate=fake_migrate) > > # Roles: Manager, Approver, Reviewer, etc > db.define_table('auth_roles', > db.Field('auth_role_name', > 'string', length=128, required=True), > migrate='auth_roles.table', fake_migrate=fake_migrate) > > # User/Role Mapping > db.define_table('auth_user_role', > db.Field('auth_user_id', db.auth_users), > db.Field('auth_role_id', db.auth_roles), > migrate='auth_user_role.table', fake_migrate=fake_migrate)