[ZCM] [ZC] 582/ 1 Request "PythonScripts: "Unauthorized" hides "SyntaxError""

Collector: Zope Bugs, Features, and Patches ... zope-coders@zope.org
Sun, 22 Sep 2002 10:50:28 -0400


Issue #582 Update (Request) "PythonScripts: "Unauthorized" hides "SyntaxError""
 Status Pending, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/582

==============================================================
= Request - Entry #1 by d.maurer on Sep 22, 2002 10:50 am

Assume, you have a module "M" in product "P" with security declaration

	....
	_security= ModuleSecurityInfo('Products.P')
	_security.declarePublic('M')

Then, a Python script will raise "Unauthorized: you are not authorized
to import module "Products.P.M" when "M" has a "SyntaxError".

==============================================================