Permissions

Each user in a WeBWorK course has a permission level that determines what actions that user is allowed to perform. The permission level for a user can be edited using the classlist editor.

Permission levels are given role names in global.conf. The default names and values are as follows:

# this hash maps a numeric permission level to the name of a role. the number
# assigned to a role is significant -- roles with higher numbers are considered
# "more privileged", and are included when that role is listed for a privilege
# below.
#
%userRoles = (
guest => -5,
student => 0,
login_proctor => 2,
grade_proctor => 3,
ta => 5,
professor => 10,
);

Each WeBWorK operation is then given a minimum role that a user must have in order to perform the operation. The default operations are as follows:

For example, by default the view_hidden_work operation is permitted to TAs (level 5), and professors (level 10).

The minimum role necessary for an operation can be modified in global.conf by changing the value for that operation to the name of another role, or to undef if no users should be allowed to perform the operation.

Some permissions can also be customized on a per-course basis in the Course Configuration module, accessible from WeBWorK's main menu. To change other permissions on a per-course basis, it is necessary to edit the course's course.conf file via the File Manager module, also accessible from WeBWorK's main menu.