diff options
author | Jason Madden <jamadden@gmail.com> | 2017-11-30 11:47:28 -0600 |
---|---|---|
committer | Jason Madden <jamadden@gmail.com> | 2017-11-30 11:47:28 -0600 |
commit | ab429edc94e3d6db26ff398672c716982a5d64c0 (patch) | |
tree | d0fb07f95cfed0f1b7437dbe35cec3435929831c /CHANGES.rst | |
parent | 4844db9ddcc539be3d5ff31a884621e0e258c075 (diff) | |
download | zope-security-ab429edc94e3d6db26ff398672c716982a5d64c0.tar.gz |
Fix default values for Permission's title and description in Py2issue48
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.
Diffstat (limited to 'CHANGES.rst')
-rw-r--r-- | CHANGES.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index b4393de..310b09d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,7 +5,13 @@ 4.2.1 (unreleased) ================== -- Nothing changed yet. +- Fix the default values for ``Permission`` fields ``title`` and + ``description`` under Python 2. See `issue 48 + <https://github.com/zopefoundation/zope.security/issues/48>`. + +- Change the ``IPermission.id`` from ``Text`` (unicode) to a + ``NativeStringLine``. This matches what ZCML creates and what is + usually written in source code. 4.2.0 (2017-09-20) |