Lots of people are reporting problems with CRUD. This is because they
have

crud.settings.auth=auth

which did not work before and works now because of a bug fix.

- The above line does not do what you think.
- The above line is NOT REQUIRED to make @auth.requires_login,
@auth.requires_membership and @auth.requires_permissions
- The above line instead blocks access to crud function based on
permissions. For example you cannot call

   crud.update(db.mytable, record_id)

unless you belong to a group that

    auth.has_permissions(group_id,update',db.table,record_id)
or
    auth.has_permissions(group_id,update',db.table)

Since you are probably not setting permissions at this granular level
you do not need crud.settings.auth=auth.

Massimo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to