From f229f02f7c96ba81f1827973458fd0c5843235f1 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Wed, 3 Oct 2018 20:35:22 -0500 Subject: remove deprecated security functions --- CHANGES.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 16e06d532..cd2d05054 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -15,7 +15,7 @@ Backward Incompatibilities - ``pcreate`` and the builtin scaffolds have been removed in favor of using the ``cookiecutter`` tool and the ``pyramid-cookiecutter-starter`` - cookiecutter. + cookiecutter. The script and scaffolds were deprecated in Pyramid 1.8. See https://github.com/Pylons/pyramid/pull/3406 - Removed ``pyramid.interfaces.ITemplateRenderer``. This interface was @@ -24,6 +24,14 @@ Backward Incompatibilities provided no functionality within Pyramid itself. See https://github.com/Pylons/pyramid/pull/3409 +- Removed ``pyramid.security.has_permission``, + ``pyramid.security.authenticated_userid``, + ``pyramid.security.unauthenticated_userid``, and + ``pyramid.security.effective_principals``. These methods were deprecated + in Pyramid 1.5 and all have equivalents available as properties on the + request. For example, ``request.authenticated_userid``. + See https://github.com/Pylons/pyramid/pull/3410 + Documentation Changes --------------------- -- cgit v1.2.3