Re: [Zope] Security framework troubles

2005-05-07 Thread Dieter Maurer
Anders Bruun Olsen wrote at 2005-5-6 18:19 +0200: > ... > security = ClassSecurityInfo() > security.setDefaultAccess("deny") > security.declareProtected("View Bookbase", "index_html") > ... >When the template tries to access container/title an access denied >expection is raised. With VerboseSecu

Re: [Zope] Security framework troubles

2005-05-06 Thread Andreas Jung
--On Freitag, 6. Mai 2005 18:19 Uhr +0200 Anders Bruun Olsen <[EMAIL PROTECTED]> wrote: It works if I do setDefaultAccess("allow"), but I don't want to allow access by default and then just deny for those I know I want to deny access to. I want it the other way around. Why don't you write an acc

[Zope] Security framework troubles

2005-05-06 Thread Anders Bruun Olsen
Hi, I am attempting to make a zope product (a custom book-database for use by my employer) and of course want to secure it. I have added this code to my class: security = ClassSecurityInfo() security.setDefaultAccess("deny") security.declareProtected("View Bookbase", "index_html") securit