Hello zope-users,
I upgraded my Zope application from version 2.1.3 to 2.2.0 . Now I
have problems with the new security system.
e.g. 'test.py' in Extensions directory:
class test:
def __init__(self):
pass
def sayhello(self):
return "hello"
def initialize(self):
return test()
Now I created an external method that is named 'test', it's function
name is 'initialize' and the module's name is 'test'.
The code
<dtml-with "test()">
<dtml-var "sayhello()">
</dtml-with>
produces an 'Unauthorized: sayhello' after I canceled the requester.
Of course this is only a test function, because my real functions
didn't work, too.
All checkboxes of the external method 'test' are checked. So all users
should have the rights to access this method. Right ?
What's wrong with this code ?
bye.
Stefan Bambach
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )