UserKit.HierRole
index
/var/www/docs/Webware-1.1.1/UserKit/HierRole.py

The HierRole class.

 
Classes
       
UserKit.Role.Role(__builtin__.object)
HierRole

 
class HierRole(UserKit.Role.Role)
    HierRole is a hierarchical role.
 
It points to its parent roles. The hierarchy cannot have cycles.
 
 
Method resolution order:
HierRole
UserKit.Role.Role
__builtin__.object

Methods defined here:
__init__(self, name, description=None, superRoles=[])
playsRole(self, role)
Check whether 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)

Data descriptors inherited from UserKit.Role.Role:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)