[Zope3-Users] How to check access on a view?
    Randy Crafton 
    rcrafton at jsatech.com
       
    Sat Feb 16 20:39:55 EST 2008
    
    
  
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
>
> -- 
> hermann at qwer.tk
> GPG key ID: 299893C7 (on keyservers)
> FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
    
    
More information about the Zope3-users
mailing list