From 510e507a605bec627e7c71550fff9ac26f13365b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= Date: Wed, 9 Oct 2024 20:15:02 +0900 Subject: [PATCH] Update CHANGES.rst Co-authored-by: Dieter Maurer --- CHANGES.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index a5916f2..2bd593e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,8 +8,7 @@ For changes before version 3.0, see ``HISTORY.rst``. - Respect ``PURE_PYTHON`` environment variable set to ``0`` when running tests. -- Make Python implementation behave same as C implementation regarding - objects raising exceptions in ``__getattr__``. +- Let the roles access in ``rolesForPermissionOn`` interpret ``AttributeError`` and ``Unauthorized`` as "no roles definition for this permission at this object" and report any other exception (for the Python and C implementation). We have to treat ``Unauthorized`` like ``AttributeError`` to support ``Shared.DC.Scripts.Bindings.UnauthorizedBinding`` which raises ``Unauthorized`` for any access. 7.0 (2024-05-30)