{"shas":[["0b262906f14975a6e6158635ff7568e49c5258bb","1559339698d4b91062141e6c67af7c94ca1d6f09@plope.com","- Static views registered with ``config.add_static_view`` which also included\n  a ``permission`` keyword argument would not work as expected, because\n  ``add_static_view`` also registered a route factory internally.  Because a\n  route factory was registered internally, the context checked by the Pyramid\n  permission machinery never had an ACL.  ``add_static_view`` no longer\n  registers a route with a factory, so the default root factory will be used.\n\n- ``config.add_static_view`` now passes extra keyword arguments it receives\n  to ``config.add_route`` (calling add_static_view is mostly logically\n  equivalent to adding a view of the type ``pyramid.static.static_view``\n  hooked up to a route with a subpath).  This makes it possible to pass e.g.,\n  ``factory=`` to ``add_static_view`` to protect a particular static view\n  with a custom ACL.\n\nCloses #161.","Chris McDonough"]],"repo":"Pylons/pyramid","actor":"mcdonc","ref":"refs/heads/master","size":1,"head":"0b262906f14975a6e6158635ff7568e49c5258bb","actor_gravatar":"a709fd00fc849280c23233ef0a01c5dc","push_id":28014838}