Re: [Zope] Re: Allow import of whole filesystem class hierarchy?

2007-01-25 Thread Dieter Maurer
Kirk Strauser wrote at 2007-1-24 13:16 -0600: > ... >Before I start on such an adventure, what is the Python/Zope term for what >I'm trying to do, specifically to allow the import of an entire module, >including classes inside it, and methods inside those classes' objects? With "allow_module" yo

Re: [Zope] Re: Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Andreas Jung
--On 24. Januar 2007 13:16:15 -0600 Kirk Strauser <[EMAIL PROTECTED]> wrote: However, your *best* bet is to implement your Zope applications as filesystem-based products, rather than in "untrusted" code (Python scripts). At that point, the modules are easily importable. Maybe so, but I'm

Re: [Zope] Re: Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Kirk Strauser
On Wednesday 24 January 2007 10:30 am, Tres Seaver wrote: > The most straighforward hack to do what you want would be to > monkey-patch 'AccessControl.ZopeGuards.guarded_import', which is the > function that does the current checking. Before I start on such an adventure, what is the Python/Zope t

Re: [Zope] Re: Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Andreas Jung
--On 24. Januar 2007 11:30:11 -0500 Tres Seaver <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kirk Strauser wrote: My company has a Zope server that has no editing rights for external persons - only employees have management permissions. We also have a company-s

[Zope] Re: Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kirk Strauser wrote: > My company has a Zope server that has no editing rights for external > persons - only employees have management permissions. We also have a > company-specific hierarchy of several hundred Python modules that I'd like > to acc