Ticket #2483 (closed defect: fixed)
[PATCH] Identity SecureObject does not proxy cherrypy attributes (like a _cp_filters)
Reported by: | xaka | Owned by: | Chris Arndt |
---|---|---|---|
Priority: | high | Milestone: | 1.1.2 |
Component: | Identity | Version: | 1.1 HEAD |
Severity: | major | Keywords: | |
Cc: |
Description
class Filter(BaseFilter): def before_main(self): pass class ChildController(Controller): _cp_filters = [Filter()] class ParentController(Controller, SecureResource): child = ChildController()
No one filter from _cp_filters list will be applied because of the bug.
Patch attached. Tests results:
---------------------------------------------------------------------- Ran 446 tests in 72.001s OK
and svn info:
URL: http://svn.turbogears.org/branches/1.1 Repository Root: http://svn.turbogears.org Repository UUID: 77541ad4-5f01-0410-9ede-a1b63cd9a898 Revision: 7052 Node Kind: directory Schedule: normal Last Changed Author: chrisz Last Changed Rev: 7050
Attachments
Change History
Note: See
TracTickets for help on using
tickets.