Skip to content

Commit

Permalink
remove the permission arg from add_route
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed May 25, 2018
1 parent 77caaff commit 7b6eb35
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
15 changes: 10 additions & 5 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Features
instead of ``pyramid.util.Request``.
See https://github.com/Pylons/pyramid/pull/3129

- In ``cherrypy_server_runner``, prefer imports from the ``cheroot`` package over the legacy
imports from `cherrypy.wsgiserver`.
- In ``cherrypy_server_runner``, prefer imports from the ``cheroot`` package
over the legacy imports from `cherrypy.wsgiserver`.
See https://github.com/Pylons/pyramid/pull/3235

- Add a context manager ``route_prefix_context`` to the
Expand All @@ -33,9 +33,9 @@ Features
Bug Fixes
---------

- Set appropriate ``code`` and ``title`` attributes on the ``HTTPClientError`` and
``HTTPServerError`` exception classes. This prevents inadvertently returning a 520
error code.
- Set appropriate ``code`` and ``title`` attributes on the ``HTTPClientError``
and ``HTTPServerError`` exception classes. This prevents inadvertently
returning a 520 error code.
See https://github.com/Pylons/pyramid/pull/3280

- Replace ``webob.acceptparse.MIMEAccept`` from WebOb with
Expand All @@ -54,6 +54,11 @@ Backward Incompatibilities
depending on it directly within your project.
See https://github.com/Pylons/pyramid/pull/3140

- Remove the ``permission`` argument from
``pyramid.config.Configurator.add_route``. This was an argument left over
from a feature removed in Pyramid 1.5 and has had no effect since then.
See https://github.com/Pylons/pyramid/pull/3299

Documentation Changes
---------------------

Expand Down
1 change: 0 additions & 1 deletion pyramid/config/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class RoutesConfiguratorMixin(object):
def add_route(self,
name,
pattern=None,
permission=None,
factory=None,
for_=None,
header=None,
Expand Down

0 comments on commit 7b6eb35

Please sign in to comment.