On Tuesday 19 April 2011 12:12:30 Henning Eggers wrote:
> Please make use of forwardCheckAuthenticated and do not re-introduce
> check_permission into security.py. Thank you. ;-)

Thanks for making this change Henning.

Another pattern that can be used is to construct the appropriate adapter 
directly and run its checkAuthenticated() method, which is what many of the 
existing adapters already do.  I think I prefer this to introducing the extra 
level of indirection in forwardCheckAuthenticated() but YMMV :)

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to