HierRole¶
The HierRole class.
- class UserKit.HierRole.HierRole(name, description=None, superRoles=None)¶
Bases:
Role
HierRole is a hierarchical role.
It points to its parent roles. The hierarchy cannot have cycles.
- __init__(name, description=None, superRoles=None)¶
- description()¶
- name()¶
- playsRole(role)¶
Check whether the receiving role plays the role that is passed in.
This implementation provides for the inheritance supported by HierRole.
- setDescription(description)¶
- setName(name)¶