> What I miss is the equivalent of "has_permission(permission_name,
> view_or_controller)" and/or "user.has_role(custom_role)" methods in
> Zope, can anyone point me to any examples that deal with
> authentication AND permissions or roles (I need to allow users to
> create accounts and log in into my blog, but only to respond to
> posts), can this be done using CAS?

The are defined in T2.
http://mdp.cti.depaul.edu/examples/static/t2.pdf
you just need to install the plugin or copy the t2.py in your modules
folder.

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 [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