[Zope-CMF] proxy roles and .metadata

Jean Jordaan jean@upfrontsystems.co.za
Fri, 18 Jul 2003 14:46:17 +0200


Hi all 

I just submitted http://collector.zope.org/CMF/177
with a oneline change to FSMetadata._securityParser.__doc__:

 - (0|1):Role[,Role...]
 + Permission = (0|1):Role[,Role...]

I had to look in 
CMF-1.4/CMFCore/tests/fake_skins/fake_skin/test6.py.metadata
to find the actual format. It's doubly confusing since AFAIK
these are equivalent ConfigParser lines:

 key:value
 key=value

Also, test6.py.metadata contains 'proxy = Manager,Anonymous'
but CMF-1.4/CMFCore/DirectoryView.py
says: "# only DTML Methods can have proxy roles"
and I can't see where FSPythonScripts get proxy roles set. Is 
proxy roles implemented for FSPythonScripts?

Regards,
-- 
Jean Jordaan
http://www.upfrontsystems.co.za