[z3-five] Suggested changes in Five/security.py

Sidnei da Silva sidnei at awkly.org
Thu Jan 13 19:33:15 MET 2005


On Thu, Jan 13, 2005 at 07:19:46PM +0100, Lennart Regebro wrote:
|     if permission is CheckerPublic or permission is None:
|         return True

All looks good except the above. If permission is None it just means
you couldnt find a utility registered by that permission. I would
return False in that case.

-- 
Sidnei da Silva <sidnei at awkly.org>
http://awkly.org - dreamcatching :: making your dreams come true
http://www.enfoldsystems.com
http://plone.org/about/team#dreamcatcher

Mais curto que coice de porco.


More information about the z3-five mailing list