WeBWorK Main Forum

How add permission to course.conf

How add permission to course.conf

by Murray Eisenberg -
Number of replies: 1
Exactly what should I insert into course.conf in order to grant permission to those with "ta" role to be able to send e-mail?

I know one has to do something like

send_mail => "professor"

but how exactly to I do that without inadvertently changing any other permissions? That is, I'm tempted to say...
 %permissionLevels = (send_mail => "professor");
...but I'm concerned lest that override all permissions set in global.conf rather than modify it.
In reply to Murray Eisenberg

Re: How add permission to course.conf

by Arnold Pizer -
Hi Murray,

$permissionLevels{send_mail} = 'ta';

will do it. For more info you can search the web for Perl hashes.


PS. Just saw your more recent post. Guess this got answered a little late.