manage roles: MDL-8313 face lift allow override/assign, and add securtiy checks!

This commit is contained in:
tjhunt 2008-11-18 10:18:00 +00:00
parent 692103a2a5
commit ad5616a934
3 changed files with 106 additions and 124 deletions

View file

@ -61,7 +61,6 @@
/// Get some basic data we are going to need.
$roles = get_all_roles();
role_fix_names($roles, $systemcontext, ROLENAME_ORIGINAL);
$rolescount = count($roles);
$undeletableroles = array();
$undeletableroles[$CFG->notloggedinroleid] = 1;