[Checkins] [zopefoundation/zope.security] ab429e: Fix default values for Permission's title and desc...
GitHub
noreply at github.com
Thu Nov 30 18:49:25 CET 2017
Branch: refs/heads/issue48
Home: https://github.com/zopefoundation/zope.security
Commit: ab429edc94e3d6db26ff398672c716982a5d64c0
https://github.com/zopefoundation/zope.security/commit/ab429edc94e3d6db26ff398672c716982a5d64c0
Author: Jason Madden <jamadden at gmail.com>
Date: 2017-11-30 (Thu, 30 Nov 2017)
Changed paths:
M CHANGES.rst
M src/zope/security/interfaces.py
M src/zope/security/permission.py
M src/zope/security/tests/test_permission.py
M src/zope/security/zcml.py
Log Message:
-----------
Fix default values for Permission's title and description in Py2
And test this. This applies to both the class and the ZCML directive.
Also adjust IPermission to use NativeStringLine for ``id``, since
that's what ZCML has always been creating (it uses an Id, which
subclasses NativeStringLine), and what's typically written in source
code. Test that the permissions created from ZCML are valid with this
change.
More information about the checkins
mailing list