using the __ac_permissions__ construct is way way deprecated. use ClassSecurityInfo instead. jens On Wednesday, May 7, 2003, at 11:59 US/Eastern, MidnightFears@aol.com wrote:
In researching how to implement customized security for my product, I have seen two ways to approach this. The first is through the __ac__permissions and the second is through the use of the ClassSecurityInfo.
In attempting the first way, I declared the following in my class:
__ac_permissions__= Folder.__ac_permissions__ + ( ('View', ('Administrator', 'Manager', 'Custodian', 'Restricted Access'), ), ('Access contents information', ('Administrator', 'Manager', 'Custodian', 'Restricted Access'), ), ('View management screens', ('manage', 'manage_main', 'manage_workspace',), ('Administrator', 'Manager', 'Custodian', 'Restricted Access'), ),
)
Nothing spectacular here, however, the Custodian can't get access to any of the management screens. I am pulling my hair out over this one.
What am I doing wrong? Should I be using the ClassSecurityInfo instead? Does anyone have a good resource that will show me how to go about implementing security?
Thanks in advance!!