[Zope] Debugging security settings in .metadata files

J Cameron Cooper zope-l at jcameroncooper.com
Thu Oct 27 17:49:45 EDT 2005


Floyd May wrote:
> I have a set of files - page templates, python scripts, and zsql
> methods - that are set up as filesystem objects.  I'm having trouble
> getting the security set the way I want it to be with the .metadata
> files.  Here is the content of my .metadata files:
> --------------8<-------------------------
> [security]
> View = 0:Manager
> Access contents information = 0:Manager
> Access Contents Cnformation = 0:Manager
> -------------8<--------------------------
> 
> However, I can still access my content through an anonymous context. 
> Can anyone give me some ideas about debugging my situation?  Thanks!
> 
> Zope 2.7.7-final, python 2.3.5, freebsd5
> CMF 1.4.8

Looks okay to me, though I don't know what you're doing with the third line.

Check what it looks like in the ZMI. This will tell you whether or not 
the problem is in getting the permissions set like you expect.

		--jcc
-- 
"Building Websites with Plone"
http://plonebook.packtpub.com/

Enfold Systems, LLC
http://www.enfoldsystems.com


More information about the Zope mailing list