[Zope] hasRole (Bug or My brain is dead?)
Hamish Lawson
hamish_lawson@yahoo.co.uk
Thu, 19 Apr 2001 20:40:43 +0100 (BST)
Just a suggestion: You may want to consider whether it would be better
to test whether the user has the appropriate permission using
has_permission(), rather than for whether they have a particular role.
Hamish Lawson
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie