From 8305aeaaa8cb10b692921097b00bee1b1dc34118 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Thu, 15 Mar 2007 08:30:36 +0000 Subject: [PATCH] putting user/editprofile back --- lib/db/access.php | 11 +++++++++++ version.php | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/db/access.php b/lib/db/access.php index c0cc92bf0a..8014be6c5d 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -715,6 +715,17 @@ $moodle_capabilities = array( 'admin' => CAP_ALLOW ) ), + + 'moodle/user:editprofile' => array( + + 'riskbitmask' => RISK_SPAM, + + 'captype' => 'read', + 'contextlevel' => CONTEXT_USER, + 'legacy' => array( + 'admin' => CAP_ALLOW + ) + ), // The next 3 might make no sense for some roles, e.g teacher, etc. // since the next level up is site. These are more for the parent role diff --git a/version.php b/version.php index f0f834a9b1..ca760ce15c 100644 --- a/version.php +++ b/version.php @@ -6,7 +6,7 @@ // This is compared against the values stored in the database to determine // whether upgrades should be performed (see lib/db/*.php) - $version = 2007021402; // YYYYMMDD = date + $version = 2007021500; // YYYYMMDD = date // XY = increments within a single day $release = '1.9 dev'; // Human-friendly version name -- 2.39.5