From 2e8ee5302f121c8160090c3890c4ea334b2e44e7 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Thu, 15 Mar 2007 08:28:56 +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 c0cc92bf0a6..8014be6c5df 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 d67dbe7b29e..8946e031081 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 = 2007021403; // YYYYMMDD = date // XY = increments within a single day $release = '1.8 Beta +'; // Human-friendly version name