On Sep 7, 2006, at 10:36 AM, Elvelind Grandin wrote: > > On 9/7/06, Joe <[EMAIL PROTECTED]> wrote: >> >> Hi Elvelind, >> >> Elvelind Grandin wrote: >>> You can do that yourself >>> >>> cherrypy.tree.mount(turbogears.toolbox.Toolbox, "/toolbox") >>> >>> note that this will make it possible for all to access it. >>> to restrict access use identity.SecureObject. >>> >> But that's what that other web framework does by default, including >> prompting for user access (which is somewhat annoying when "all" >> is me, >> myself and my reflection in the monitor :-). I'm just suggesting >> that >> ought to be TG's default as well, perhaps with an easy way to plug >> identification in or out. > > No, I don't think that toolbox should be ounted in your application by > default. running tg-admin toolbox is simple enough, and if you really > want it there you can just mount it. > using SecureObject it's easy to limit access based on user or ip or > whatever critiera you like. > What we *could* do it document how to mount it somewhere. > > tg-admin toolbox -n works just fine for me atleast
hmm... we *could* mount the toolbox automatically when server.environment="development". It's an interesting thought, if nothing else... Kevin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

