Menu

#160 allow_only doesn't get checked in dynamically dispatched RestController

2.2.0
closed
nobody
None
core
defect
normal
core
2.1.5
2012-07-10
2012-07-10
No

In this RootController: http://bpaste.net/show/34255/ you see the UserController that gets dynamically dispatched using _lookup.
The statically mounted controller at /user asks for the manage Permission but the dynamically dispatched one does not.
I verified it happens the same way when you just inherit from RestController.

Discussion

  • Alessandro Molina

    • milestone: Undetermined --> 2.2.0

    • status: open --> closed

     
  • Alessandro Molina

    Fixed in crank 0.6 branch commit ba2b029c1cf3