Hermann,

Take a look at z3c.securitytool. I think it's still a work in progress, but I'm certain there's something there that will help you out.


-Randy



On Feb 16, 2008, at 5:53 PM, Hermann Himmelbauer wrote:

Hi,
For a simple menu, I need to check if the current principal has permissions to
access a view. I understand that I can use the canAccess()/canWrite()
function on object attributes but how could I do this for views?

Best Regards,
Hermann

--
[EMAIL PROTECTED]
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to