]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-8096 - added proper trimming of usernames; site:config capability is now neede...
authorskodak <skodak>
Fri, 26 Jan 2007 16:19:34 +0000 (16:19 +0000)
committerskodak <skodak>
Fri, 26 Jan 2007 16:19:34 +0000 (16:19 +0000)
admin/settings/users.php

index f93997d3b0a47c4eb36f73140c93cc30ba2fd597..e6e2424c70d509fe0fa81726f30df3ebc375e9f4 100644 (file)
@@ -11,7 +11,7 @@ $ADMIN->add('users', new admin_category('accounts', get_string('accounts', 'admi
 $ADMIN->add('accounts', new admin_externalpage('editusers', get_string('userlist','admin'), "$CFG->wwwroot/$CFG->admin/user.php", array('moodle/user:update', 'moodle/user:delete')));
 $ADMIN->add('accounts', new admin_externalpage('addnewuser', get_string('addnewuser'), "$CFG->wwwroot/user/editadvanced.php?id=-1", 'moodle/user:create'));
 $ADMIN->add('accounts', new admin_externalpage('uploadusers', get_string('uploadusers'), "$CFG->wwwroot/$CFG->admin/uploaduser.php", 'moodle/site:uploadusers'));
-$ADMIN->add('accounts', new admin_externalpage('profilefields', get_string('profilefields','admin'), "$CFG->wwwroot/user/profile/index.php", 'moodle/user:update'));
+$ADMIN->add('accounts', new admin_externalpage('profilefields', get_string('profilefields','admin'), "$CFG->wwwroot/user/profile/index.php", 'moodle/site:config'));
 
 
 // stuff under the "roles" subcategory