[Zope] Re: C&C hasRole, has_role, allowed, has_permission?

Florent Guillaume fg@nuxeo.com
Thu, 4 Jul 2002 18:35:55 +0200


> Looks like has_permission was a good choice -- I just
> tried it. Interestingly, the IOError bug went away. I
> find that very strange considering that that module
> doesn't obviously do any I/O (but I guess it must).

That's because, when you used hasRole, it was trying to output its
warning (probably to the console), and failed with an IOError.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com