mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
manage roles: MDL-8313 face lift allow override/assign, and add securtiy checks!
This commit is contained in:
parent
692103a2a5
commit
ad5616a934
3 changed files with 106 additions and 124 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue