From e2cfb488bea73c6fcca7452e948a92195d87cdc7 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 26 Jan 2007 16:19:34 +0000 Subject: [PATCH] MDL-8096 - added proper trimming of usernames; site:config capability is now neede to change definition of custom profile fields --- admin/settings/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/settings/users.php b/admin/settings/users.php index f93997d3b0..e6e2424c70 100644 --- a/admin/settings/users.php +++ b/admin/settings/users.php @@ -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 -- 2.39.5