OK, so after further investigation, I decided to follow the tutorial
on http://mdp.cti.depaul.edu/examples/default/tools#authorization and
have run into some issues. I'm running web2py 1.56:

0) I tried to import Recaptcha but it caused an error:
    ImportError: cannot import name Recaptcha

1) I tried to implement the custom authentication but got an error on
the last line: auth=MyAuth(globals(),T,db). Here's the trace:

Traceback (most recent call last):
  File "/Users/mdipierro/web2py/gluon/restricted.py", line 98, in
restricted
  File "C:/web2py/applications/QTRAX/models/db.py", line 252, in
<module>
  File "C:/web2py/applications/QTRAX/models/db.py", line 246, in
__init__
  File "/Users/mdipierro/web2py/gluon/storage.py", line 84, in
__setattr__Syntax
Error: setting key does not exist

2) So I skipped the custom authentication and now I'm working on the
authorization part where I assign permissions to all members of a
group. I'm a little confused by record_id. Can anyone tell me a
circumstance where record_id shouldn't be set to 0?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to