[Zope-CMF] Re: [Zope] [Security] When are permissions accessible to scripts in skins?

Dieter Maurer dieter@handshake.de
Tue, 20 May 2003 20:14:34 +0200


Jean Jordaan wrote at 2003-5-20 13:52 +0200:
 > In my product's __init__.py, I register the permission
 > 'Manage OrganisationPosition':
 > ...
 > line 174, in manage_permission
 >      (Object: position_add)
 > Invalid Permission: The permission <em>Manage OrganisationPosition</em> 
 > is invalid.
 > 
 > Is this intended behaviour? What permissions are valid for inclusion
 > in .security files? If I use the "View" permission, I get no error.

Look at the code.

  I expect, it will be straight forward to determine why "Manage
  OrganisationPosition" was considered invalid.

  I expect it is unknown...


Dieter