Package ZenUtils :: Module Security
[show private | hide private]
[frames | no frames]

Module ZenUtils.Security

Function Summary
  backupACLUserFolder(context)
  createPASFolder(context)
  migratePAS(context)
  replaceACLWithPAS(context, deleteBackup)
  setupBasciAuthHelper(context)
  setupCookieHelper(context)
  setupPASFolder(context)
  setupProtocolChooser(context)
  setupRoleManager(context)
  setupTypeSniffer(context)
  setupUserManager(context)
  _createInitialUser(self)
Note: copied and adapted from AccessControl.User.BasicUser

Variable Summary
list ZENOSS_ROLES = ['ZenUser', 'ZenMonitor']

Function Details

_createInitialUser(self)

Note: copied and adapted from AccessControl.User.BasicUser

If there are no users or only one user in this user folder, populates from the 'inituser' file in the instance home. We have to do this even when there is already a user just in case the initial user ignored the setup messages. We don't do it for more than one user to avoid abuse of this mechanism. Called only by OFS.Application.initialize().

Variable Details

ZENOSS_ROLES

Type:
list
Value:
['ZenUser', 'ZenMonitor']                                              

Generated by Epydoc 2.1 on Thu Aug 16 09:55:08 2007 http://epydoc.sf.net