UserKit.RoleUserManagerMixIn | index /usr/local/share/webware/UserKit/RoleUserManagerMixIn.py

Classes

``

RoleUserManagerMixIn

class RoleUserManagerMixIn
`` | `RoleUserManagerMixIn adds the functionality of keeping a dictionary mapping names to role instances. Several accessor methods are provided for this.`

Methods defined here:

__init__(self)

addRole(self, role)

clearRoles(self)

delRole(self, name)

hasRole(self, name)

initUserClass(self)
  `Invoked by __init__ to set the default user class to
  RoleUser.`

role(self, name, default=<class MiscUtils.NoDefault>)

roles(self)