[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Security

webmaster at zope.org webmaster at zope.org
Thu Jan 29 02:19:23 EST 2004


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZDG/current/Security.stx#3-67

---------------

      The 'setPermissionDefault' method of the 'SecurityInfo' 
      object should be called only once for any given permission 
      name. 

        % Anonymous User - Oct. 21, 2003 6:20 am:
         SecurityInfo object should be called only once for any given permission name: 
                 is that once per object ie many times if there are several classes is a product, or once per product?

        % Anonymous User - Jan. 29, 2004 2:19 am:
         This paragraph seems to conflict with the earlier example granting 'View' to 'Anonymous', as Zope will have
         already granted default roles to builtin permissions.



More information about the ZDP mailing list