I'd like to be able to define custom permissions throug ZMI that
I can query within a number of PythonScript instancse. The permission
express that a set of PythonScripts are executable.
The PythonScript do not return a class so the methode described at Zope
"Class Security Assertions In Non-Product Code (External Methods/Python
do not fit.
I have a Python Workflow Product in mind that allows me to configure a
customizable PythonScripts. I want the user to be able to create a
custom permission that
can be used within a set of instances. Normally Globals.InitializeClass
does the job. But I'm looking for a way to define permissions at runtime
are bound to a PythonScript in several but not all product instances.
Can Permission.registerPermissions be used to do that and is ther a
Andreas Heckel [EMAIL PROTECTED]
LINUX is like a wigwam...no gates...no windows and an apache inside ;-)
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -