2001-06-18 08:57:33 +00:00
|
|
|
/**
|
2002-06-26 17:20:41 +00:00
|
|
|
* check if user is allowed to edit the memberlist of this site
|
2001-12-10 23:22:58 +00:00
|
|
|
* @param Obj Userobject
|
|
|
|
* @return String Reason for denial (or null if allowed)
|
2001-06-18 08:57:33 +00:00
|
|
|
*/
|
|
|
|
|
2002-01-22 20:21:13 +00:00
|
|
|
function isEditMembersDenied(usr) {
|
2002-12-01 19:26:40 +00:00
|
|
|
if ((req.data.memberlevel & MAY_EDIT_MEMBERS) == 0)
|
|
|
|
return ("memberEditDenied");
|
2001-09-05 21:15:45 +00:00
|
|
|
return null;
|
2001-06-18 08:57:33 +00:00
|
|
|
}
|
2002-01-22 20:21:13 +00:00
|
|
|
|