UserKit.HierRole
index
/usr/local/share/webware/UserKit/HierRole.py

 
Classes
       
UserKit.Role.Role
HierRole

 
class HierRole(UserKit.Role.Role)
    HierRole is a hierarchical role. It points to its parent roles.
The hierarchy cannot have cycles.
 
  Methods defined here:
__init__(self, name, description=None, superRoles=[])
playsRole(self, role)
Returns 1 if the receiving role plays the role that is passed in. This
implementation provides for the inheritance that HierRole supports.

Methods inherited from UserKit.Role.Role:
__repr__(self)
__str__(self)
description(self)
name(self)
setDescription(self, description)
setName(self, name)