Location: | extensions/GrandObjects/Role.php |
Source Code: | master |
Classes: | Role |
The Role class is used to access data from the grand_roles table. A Role belongs to a Person and can optionally contain a list of Projects that the Role is associated with. For example a Person might be an HQP on Project1. Roles are used to determine what permissions the Person has on the Forum. Roles have a rough hierarchy which is defined in the global variable $wgRoleValues, and the types of Roles enabled in the system can be configured in the config.php file.